Changes in directory llvm/test/Transforms/InstCombine:
bswap-fold.ll updated: 1.3 -> 1.4 --- Log message: Revert the name changes for llvm.bswap to allow (and test) llvm-upgrade of this intrinsic. --- Diffs of the changes: (+7 -7) bswap-fold.ll | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) Index: llvm/test/Transforms/InstCombine/bswap-fold.ll diff -u llvm/test/Transforms/InstCombine/bswap-fold.ll:1.3 llvm/test/Transforms/InstCombine/bswap-fold.ll:1.4 --- llvm/test/Transforms/InstCombine/bswap-fold.ll:1.3 Sun Apr 1 02:36:28 2007 +++ llvm/test/Transforms/InstCombine/bswap-fold.ll Sun Apr 1 19:51:15 2007 @@ -2,25 +2,25 @@ ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not grep 'call.*bswap' bool %test1(ushort %tmp2) { - %tmp10 = call ushort %llvm.bswap.i16.i16( ushort %tmp2 ) + %tmp10 = call ushort %llvm.bswap.i16( ushort %tmp2 ) %tmp = seteq ushort %tmp10, 1 ret bool %tmp } bool %test2(uint %tmp) { - %tmp34 = tail call uint %llvm.bswap.i32.i32( uint %tmp ) + %tmp34 = tail call uint %llvm.bswap.i32( uint %tmp ) %tmp = seteq uint %tmp34, 1 ret bool %tmp } +declare uint %llvm.bswap.i32(uint) + bool %test3(ulong %tmp) { - %tmp34 = tail call ulong %llvm.bswap.i64.i64( ulong %tmp ) + %tmp34 = tail call ulong %llvm.bswap.i64( ulong %tmp ) %tmp = seteq ulong %tmp34, 1 ret bool %tmp } -declare ulong %llvm.bswap.i64.i64(ulong) - -declare ushort %llvm.bswap.i16.i16(ushort) +declare ulong %llvm.bswap.i64(ulong) -declare uint %llvm.bswap.i32.i32(uint) +declare ushort %llvm.bswap.i16(ushort) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits