[llvm-commits] [llvm] r76063 - in /llvm/trunk: lib/Target/SystemZ/SystemZInstrInfo.td test/CodeGen/SystemZ/11-BSwap.ll
Anton Korobeynikov
asl at math.spbu.ru
Thu Jul 16 07:35:59 PDT 2009
Author: asl
Date: Thu Jul 16 09:35:57 2009
New Revision: 76063
URL: http://llvm.org/viewvc/llvm-project?rev=76063&view=rev
Log:
Temporary disable 16 bit bswap
Modified:
llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.td
llvm/trunk/test/CodeGen/SystemZ/11-BSwap.ll
Modified: llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.td?rev=76063&r1=76062&r2=76063&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.td (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.td Thu Jul 16 09:35:57 2009
@@ -494,9 +494,10 @@
"lrvgr\t{$dst, $src}",
[(set GR64:$dst, (bswap GR64:$src))]>;
-def BSWAP16rm : RXYI<0x1FE3, (outs GR32:$dst), (ins rriaddr:$src),
- "lrvh\t{$dst, $src}",
- [(set GR32:$dst, (bswap (extloadi32i16 rriaddr:$src)))]>;
+// FIXME: this is invalid pattern for big-endian
+//def BSWAP16rm : RXYI<0x1FE3, (outs GR32:$dst), (ins rriaddr:$src),
+// "lrvh\t{$dst, $src}",
+// [(set GR32:$dst, (bswap (extloadi32i16 rriaddr:$src)))]>;
def BSWAP32rm : RXYI<0x1EE3, (outs GR32:$dst), (ins rriaddr:$src),
"lrv\t{$dst, $src}",
[(set GR32:$dst, (bswap (load rriaddr:$src)))]>;
Modified: llvm/trunk/test/CodeGen/SystemZ/11-BSwap.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SystemZ/11-BSwap.ll?rev=76063&r1=76062&r2=76063&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SystemZ/11-BSwap.ll (original)
+++ llvm/trunk/test/CodeGen/SystemZ/11-BSwap.ll Thu Jul 16 09:35:57 2009
@@ -1,3 +1,4 @@
+; XFAIL
; RUN: llvm-as < %s | llc | grep lrvr | count 2
; RUN: llvm-as < %s | llc | grep lrvgr | count 1
; RUN: llvm-as < %s | llc | grep lrvh | count 1
More information about the llvm-commits
mailing list