diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-18 20:09:40 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-18 20:09:40 +0000 |
commit | f38be91a829ad5a0391b6f139f0bd8cef341e689 (patch) | |
tree | 24f07e4a327a28104091923706e93da7717d2ee1 /lib | |
parent | b2254e603d12be6673d58f098cd384203f964e55 (diff) | |
download | external_llvm-f38be91a829ad5a0391b6f139f0bd8cef341e689.zip external_llvm-f38be91a829ad5a0391b6f139f0bd8cef341e689.tar.gz external_llvm-f38be91a829ad5a0391b6f139f0bd8cef341e689.tar.bz2 |
R600/SI: addc / adde i32 are legal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/R600/SIISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp index 3519aad..95b3be7 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -63,6 +63,8 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) : setOperationAction(ISD::ADD, MVT::i64, Legal); setOperationAction(ISD::ADD, MVT::i32, Legal); + setOperationAction(ISD::ADDC, MVT::i32, Legal); + setOperationAction(ISD::ADDE, MVT::i32, Legal); setOperationAction(ISD::BITCAST, MVT::i128, Legal); |