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 | e8d214662ab3baf33361defdd5516198f9cd752f (patch) | |
tree | b63d365cc7546c95cfcd3ff88c4f9f3dd935b937 | |
parent | 04fca446b1eeffb1c57595e99e19bec15f90481e (diff) | |
download | bcm5719-llvm-e8d214662ab3baf33361defdd5516198f9cd752f.tar.gz bcm5719-llvm-e8d214662ab3baf33361defdd5516198f9cd752f.zip |
R600/SI: addc / adde i32 are legal
llvm-svn: 195038
-rw-r--r-- | llvm/lib/Target/R600/SIISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/SIISelLowering.cpp b/llvm/lib/Target/R600/SIISelLowering.cpp index 3519aad2a00..95b3be7b8fc 100644 --- a/llvm/lib/Target/R600/SIISelLowering.cpp +++ b/llvm/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); |