summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreISelLowering.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2017-04-20 23:03:30 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2017-04-20 23:03:30 +0000
commit7b06cebe73cd6d55f085e920a3654ad39f3dc84f (patch)
tree2f69db6357df78c0db743149548218449b073ecf /llvm/lib/Target/XCore/XCoreISelLowering.cpp
parent1cb0e5afb05b3dfdaa8f605697232801abebf254 (diff)
downloadbcm5719-llvm-7b06cebe73cd6d55f085e920a3654ad39f3dc84f.tar.gz
bcm5719-llvm-7b06cebe73cd6d55f085e920a3654ad39f3dc84f.zip
Revert "[AArch64] Improve code generation for logical instructions taking"
This reverts r300913. This broke bots. llvm-svn: 300916
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreISelLowering.cpp')
-rw-r--r--llvm/lib/Target/XCore/XCoreISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.cpp b/llvm/lib/Target/XCore/XCoreISelLowering.cpp
index 2efcd46cd8d..45437815fa3 100644
--- a/llvm/lib/Target/XCore/XCoreISelLowering.cpp
+++ b/llvm/lib/Target/XCore/XCoreISelLowering.cpp
@@ -1605,7 +1605,7 @@ SDValue XCoreTargetLowering::PerformDAGCombine(SDNode *N,
TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(),
!DCI.isBeforeLegalizeOps());
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
- if (TLI.ShrinkDemandedConstant(OutVal, DemandedMask, TLO) ||
+ if (TLO.ShrinkDemandedConstant(OutVal, DemandedMask) ||
TLI.SimplifyDemandedBits(OutVal, DemandedMask, KnownZero, KnownOne,
TLO))
DCI.CommitTargetLoweringOpt(TLO);
@@ -1622,7 +1622,7 @@ SDValue XCoreTargetLowering::PerformDAGCombine(SDNode *N,
TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(),
!DCI.isBeforeLegalizeOps());
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
- if (TLI.ShrinkDemandedConstant(Time, DemandedMask, TLO) ||
+ if (TLO.ShrinkDemandedConstant(Time, DemandedMask) ||
TLI.SimplifyDemandedBits(Time, DemandedMask, KnownZero, KnownOne,
TLO))
DCI.CommitTargetLoweringOpt(TLO);
OpenPOWER on IntegriCloud