In X86DAGToDAGISel::MatchWrapper, if base or index are set, avoid matching
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 12 Apr 2009 23:00:38 +0000 (23:00 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 12 Apr 2009 23:00:38 +0000 (23:00 +0000)
commitb215776fa1ee3f1fc389eadc843688c5a0c79a2d
tree5da19d2f1f668be77d0f91ce52b2d1623ed1a0ad
parentddeed50d76e2ad52d3ccb3664d21dfe1463179c6
In X86DAGToDAGISel::MatchWrapper, if base or index are set, avoid matching
only if symbolic addresses are RIP relatives.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68924 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/2009-04-12-picrel.ll [new file with mode: 0644]
test/CodeGen/X86/abi-isel.ll