mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-12 07:21:56 +00:00
Flags-producing add, and, or, etc. have the same profibility
rules as normal add, and, or, etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
43ffe6769a
commit
9ef51c8011
@ -310,6 +310,11 @@ bool X86DAGToDAGISel::IsLegalAndProfitableToFold(SDNode *N, SDNode *U,
|
||||
if (U == Root)
|
||||
switch (U->getOpcode()) {
|
||||
default: break;
|
||||
case X86ISD::ADD:
|
||||
case X86ISD::SUB:
|
||||
case X86ISD::AND:
|
||||
case X86ISD::XOR:
|
||||
case X86ISD::OR:
|
||||
case ISD::ADD:
|
||||
case ISD::ADDC:
|
||||
case ISD::ADDE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user