[llvm] r195038 - R600/SI: addc / adde i32 are legal
Matt Arsenault
Matthew.Arsenault at amd.com
Mon Nov 18 12:09:40 PST 2013
Author: arsenm
Date: Mon Nov 18 14:09:40 2013
New Revision: 195038
URL: http://llvm.org/viewvc/llvm-project?rev=195038&view=rev
Log:
R600/SI: addc / adde i32 are legal
Modified:
llvm/trunk/lib/Target/R600/SIISelLowering.cpp
Modified: llvm/trunk/lib/Target/R600/SIISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIISelLowering.cpp?rev=195038&r1=195037&r2=195038&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIISelLowering.cpp Mon Nov 18 14:09:40 2013
@@ -63,6 +63,8 @@ SITargetLowering::SITargetLowering(Targe
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);
More information about the llvm-commits
mailing list