commit | 97135e1ee51357245561a5108f90a8a1161431a1 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Sep 26 19:15:30 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Sep 26 19:15:30 2008 +0000 |
tree | d9ebe8f9c8e3ac1ba267494a9fa12112ede80240 | |
parent | a67f32abb5392981dbcb4de4e25bdedb046a8566 [diff] |
Factor out the code for determining when symblic addresses require RIP-relative addressing and use it to fix a bug in X86FastISel in x86-64 PIC mode, where it was trying to use base/index registers with RIP-relative addresses. This fixes a bunch of x86-64 testsuite failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56676 91177308-0d34-0410-b5e6-96231b3b80d8