[llvm] [JumpThreading] Thread over BB with only an unconditional branch (PR #86312)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 01:19:00 PDT 2024


XChy wrote:

@DianQK, in most cases, we can produce a select instruction for the branch. And whether fold it to select in generated code depends on the backend. The armv7 and aarch64 backends emit the select as expected for your example: https://llvm.godbolt.org/z/v4ParEM8E

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


More information about the llvm-commits mailing list