[DAGCombiner] don't dereference an operand that doesn't exist (PR26070)
authorSanjay Patel <spatel@rotateright.com>
Fri, 8 Jan 2016 19:53:24 +0000 (19:53 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 8 Jan 2016 19:53:24 +0000 (19:53 +0000)
commit47436fa2d13149c1b45f9a401c937dbc8a310e65
tree8f72055d57ec027f6b16939c27b21b533128af3b
parent1d3fb4f73625f1728e79cd14774fa11890fd2b89
[DAGCombiner] don't dereference an operand that doesn't exist (PR26070)

The bug was introduced with changes for x86-64 fp128:
http://reviews.llvm.org/rL254653

I don't know why an x86 change is here, so I'll follow up in:
http://reviews.llvm.org/D15134

Should fix:
https://llvm.org/bugs/show_bug.cgi?id=26070

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257200 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/pr13577.ll