[PATCH] D137936: [AArch64] Optimize cmp chain before legalization

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 01:38:47 PST 2022


dmgreen added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/bcmp.ll:432
 
+; https://www.godbolt.org/z/GMosfa1nc
+define i1 @bcmp_zext(i32 %0, i32 %1, i8 %2, i8 %3) {
----------------
We don't usually put godbolt links in the source.

I see the new code is a little larger. They wouldn't be if the inputs were loaded or known to be smaller already though. And they don't fail, which was the main point of adding them.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137936/new/

https://reviews.llvm.org/D137936



More information about the llvm-commits mailing list