summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-01-11 18:36:12 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-01-11 18:36:12 +0000
commit3212a342692b23c666f529715ca8daa2b731644b (patch)
tree76f1be0d1b4e2026b28cf89720dd5576991b10e1 /llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
parent39ba639f9d38f69a9a010b736a9e56f660749786 (diff)
downloadbcm5719-llvm-3212a342692b23c666f529715ca8daa2b731644b.tar.gz
bcm5719-llvm-3212a342692b23c666f529715ca8daa2b731644b.zip
Revert r147945 which disabled an addressing mode transformation. I had
hoped this would revive one of the llvm-gcc selfhost build bots, but it didn't so it doesn't appear that my transform is the culprit. If anyone else is seeing failures, please let me know! llvm-svn: 147957
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelDAGToDAG.cpp')
-rw-r--r--llvm/lib/Target/X86/X86ISelDAGToDAG.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index b155f742d64..441267a2a4d 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -847,10 +847,6 @@ static bool FoldMaskAndShiftToScale(SelectionDAG &DAG, SDValue N,
uint64_t Mask,
SDValue Shift, SDValue X,
X86ISelAddressMode &AM) {
- // FIXME!! Hack to disable this and see if it is responsible for a miscompile
- // on llvm-gcc's selfhost.
- return true;
-
if (Shift.getOpcode() != ISD::SRL || !Shift.hasOneUse() ||
!isa<ConstantSDNode>(Shift.getOperand(1)))
return true;
OpenPOWER on IntegriCloud