[llvm] [M68k] Fix reverse BTST condition causing opposite failure/success logic (PR #153086)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 21:58:53 PDT 2025


https://github.com/mshockwave commented:

Generally looks good. The key here is that BEQ branches when Z is one, therefore if we're comparing against zero in the setcc we should not flip the condition.
Could you add a codegen test?

https://github.com/llvm/llvm-project/pull/153086


More information about the llvm-commits mailing list