mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
Flags-producing add, and, or, etc. have the same profibility
rules as normal add, and, or, etc. llvm-svn: 92507
This commit is contained in:
parent
29583f656d
commit
f87ad693cf
@ -310,6 +310,11 @@ bool X86DAGToDAGISel::IsLegalAndProfitableToFold(SDNode *N, SDNode *U,
|
|||||||
if (U == Root)
|
if (U == Root)
|
||||||
switch (U->getOpcode()) {
|
switch (U->getOpcode()) {
|
||||||
default: break;
|
default: break;
|
||||||
|
case X86ISD::ADD:
|
||||||
|
case X86ISD::SUB:
|
||||||
|
case X86ISD::AND:
|
||||||
|
case X86ISD::XOR:
|
||||||
|
case X86ISD::OR:
|
||||||
case ISD::ADD:
|
case ISD::ADD:
|
||||||
case ISD::ADDC:
|
case ISD::ADDC:
|
||||||
case ISD::ADDE:
|
case ISD::ADDE:
|
||||||
|
Loading…
Reference in New Issue
Block a user