[PATCH] D22933: DAG: avoid truncating a sign extended operand when test equality against zero

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 15:15:22 PDT 2016


eli.friedman accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: test/CodeGen/ARM/no_redundant_trunc_for_cmp.ll:10
@@ +9,3 @@
+;CHECK-NOT: movw {{.*}}, #65535
+;CHECK: cbz r0,
+if.then:                                          ; preds = %entry
----------------
Some of these tests look a little fragile; maybe generate checks with update_llc_test_checks.py?

Otherwise LGTM.


Repository:
  rL LLVM

https://reviews.llvm.org/D22933





More information about the llvm-commits mailing list