aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2006-09-25-DebugFilename.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-04-21 00:34:04 +0000
committerBill Wendling <isanbard@gmail.com>2010-04-21 00:34:04 +0000
commit658c45911acda231d89ff442f24aa754dcc5c196 (patch)
treecccbd9cf92b2a6dbce9ddc815bd058de4ae94abf /test/FrontendC/2006-09-25-DebugFilename.c
parentb1bfff9b2abc4be11ac499f29e79a78e27e9ba25 (diff)
downloadexternal_llvm-658c45911acda231d89ff442f24aa754dcc5c196.zip
external_llvm-658c45911acda231d89ff442f24aa754dcc5c196.tar.gz
external_llvm-658c45911acda231d89ff442f24aa754dcc5c196.tar.bz2
Handle a displacement location in 64-bit as an RIP-relative displacement. It
fixes a bug (<rdar://problem/7880900>) in the JIT. This code wouldn't work: target triple = "x86_64-apple-darwin" define double @func(double %a) { %tmp1 = fmul double %a, 5.000000e-01 ; <double> [#uses=1] ret double %tmp1 } define i32 @main() nounwind { %1 = call double @func(double 4.770000e-04) ; <i64> [#uses=0] ret i32 0 } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/2006-09-25-DebugFilename.c')
0 files changed, 0 insertions, 0 deletions