diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-11-14 18:18:16 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-11-14 18:18:16 +0000 |
| commit | 94812216ef33b71377b6aba125ce5da8d358712f (patch) | |
| tree | a229156ff07829f29b0120865d0369a08596b323 /llvm/lib/Target/R600/SIISelLowering.cpp | |
| parent | 4bfa736f1bc9b0761a3806bd884fcbf48ad3e553 (diff) | |
| download | bcm5719-llvm-94812216ef33b71377b6aba125ce5da8d358712f.tar.gz bcm5719-llvm-94812216ef33b71377b6aba125ce5da8d358712f.zip | |
R600/SI: Use S_BFE_I64 for 64-bit sext_inreg
llvm-svn: 222012
Diffstat (limited to 'llvm/lib/Target/R600/SIISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/R600/SIISelLowering.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/R600/SIISelLowering.cpp b/llvm/lib/Target/R600/SIISelLowering.cpp index 25acaa57187..d8e424936da 100644 --- a/llvm/lib/Target/R600/SIISelLowering.cpp +++ b/llvm/lib/Target/R600/SIISelLowering.cpp @@ -136,8 +136,7 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) : setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i16, Custom); setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v4i16, Custom); - setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i32, Custom); - + setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i32, Legal); setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::Other, Custom); setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom); |

