if (target_type_is_incompatible (cfg, &klass->byval_arg, *sp))
UNVERIFIED;
/* frequent check in generic code: box (struct), brtrue */
- if (!mono_class_is_nullable (klass) &&
+
+ // FIXME: LLVM can't handle the inconsistent bb linking
+ if (!COMPILE_LLVM (cfg) && !mono_class_is_nullable (klass) &&
ip + 5 < end && ip_in_bb (cfg, bblock, ip + 5) && (ip [5] == CEE_BRTRUE || ip [5] == CEE_BRTRUE_S)) {
/*printf ("box-brtrue opt at 0x%04x in %s\n", real_offset, method->name);*/
ip += 5;