mikaelholmen wrote: I noticed that if I compile opt with UBSan enabled on this patch and then run ``` opt -passes=objc-arc-contract bbi-98007.ll -o /dev/null ``` we get an UBSan complaint like ``` ../lib/Transforms/ObjCARC/ObjCARCContract.cpp:105:39: runtime error: load of value 255, which is not a valid value for type 'bool' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../lib/Transforms/ObjCARC/ObjCARCContract.cpp:105:39 in ``` And the bbi-98007.ll input is just ``` define void @a() { entry: ret void } ```
https://github.com/llvm/llvm-project/pull/101114 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits