Changes in directory llvm/lib/Target/ARM:
README.txt updated: 1.10 -> 1.11 --- Log message: add a note --- Diffs of the changes: (+14 -0) README.txt | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: llvm/lib/Target/ARM/README.txt diff -u llvm/lib/Target/ARM/README.txt:1.10 llvm/lib/Target/ARM/README.txt:1.11 --- llvm/lib/Target/ARM/README.txt:1.10 Fri Jan 19 01:51:42 2007 +++ llvm/lib/Target/ARM/README.txt Thu Feb 1 22:36:46 2007 @@ -43,6 +43,20 @@ copysign (i.e. we won't need to custom expand it to get the conditional negate). +This allows us to eliminate one instruction from: + +define i32 @_Z6slow4bii(i32 %x, i32 %y) { + %tmp = icmp sgt i32 %x, %y + %retval = select i1 %tmp, i32 %x, i32 %y + ret i32 %retval +} + +__Z6slow4bii: + cmp r0, r1 + movgt r1, r0 + mov r0, r1 + bx lr + //===---------------------------------------------------------------------===// Implement long long "X-3" with instructions that fold the immediate in. These _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits