diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-01-11 18:36:12 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-01-11 18:36:12 +0000 |
commit | 11f0e7b158d669a8c630068a0d8bdd107caef487 (patch) | |
tree | e69f5d7c4d54a3a3856372d7526c5e3675e34819 /lib/Target/X86/X86ISelDAGToDAG.cpp | |
parent | 313c7038319422cff0b2ea1015e180575cab4b7a (diff) |
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/X86/X86ISelDAGToDAG.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index b155f742d6..441267a2a4 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/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; |