summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-01-11 12:17:47 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-01-11 12:17:47 +0000
commit9bc48e521518407efb7910ac81be022cf66c91f6 (patch)
tree9e6b69d5435c666ec1868c883ef106b21d48713b /llvm/lib/Target
parent48af2a9e662f0d7ad0b6faa5cc9b25365cb21197 (diff)
downloadbcm5719-llvm-9bc48e521518407efb7910ac81be022cf66c91f6.tar.gz
bcm5719-llvm-9bc48e521518407efb7910ac81be022cf66c91f6.zip
Disable the transformation I added in r147936 to see if it fixes some
strange build bot failures that look like a miscompile into an infloop. I'll investigate this tomorrow, but I'd both like to know whether my patch is the culprit, and get the bots back to green. llvm-svn: 147945
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86ISelDAGToDAG.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index 441267a2a4d..b155f742d64 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -847,6 +847,10 @@ 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