[llvm] [LLVM][AArch64] Optimize sign bit tests with TST instruction for SIGN_EXTEND patterns (PR #158061)

guan jian via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 13 06:02:27 PDT 2025


rez5427 wrote:

> Thanks for the patch. Looks like a nice optimization. It might be worth giving it a test to make sure it is producing the expected results, a boot strap or the llvm-test-suite can be a decent way to test it.

 I tried both bootstrap and llvm-test-suite, and they show nothing wrong.

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


More information about the llvm-commits mailing list