[PATCH] D35635: Optimize {s,u}{add,sub}.with.overflow on ARM
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 12:28:19 PDT 2017
efriedma added inline comments.
================
Comment at: test/CodeGen/ARM/su-addsub-overflow.ll:49
+; CHECK: cmp r0, r1
+; CHECK-NEXT: subvc r0, r0, r1
+; CHECK-NEXT: movvc pc, lr
----------------
This looks weird; we're generating a cmp, then a sub with exactly the same operands?
https://reviews.llvm.org/D35635
More information about the llvm-commits
mailing list