diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-21 22:56:30 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-21 22:56:30 +0000 |
commit | 97c6c5bd9869a3c929cef0880425c198b70b6d46 (patch) | |
tree | 7a435003e1a346421ac0d16aba56eb1b30914438 /llvm/test/CodeGen/ARM/fast-isel-call.ll | |
parent | 1060eae78e3db0f9e0a4235fd9dcacc6a135cc94 (diff) | |
download | bcm5719-llvm-97c6c5bd9869a3c929cef0880425c198b70b6d46.tar.gz bcm5719-llvm-97c6c5bd9869a3c929cef0880425c198b70b6d46.zip |
DebugInfo: Don't lose unreferenced non-trivial by-value parameters
A FastISel optimization was causing us to emit no information for such
parameters & when they go missing we end up emitting a different
function type. By avoiding that shortcut we not only get types correct
(very important) but also location information (handy) - even if it's
only live at the start of a function & may be clobbered later.
Reviewed/discussion by Evan Cheng & Dan Gohman.
llvm-svn: 184604
Diffstat (limited to 'llvm/test/CodeGen/ARM/fast-isel-call.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/fast-isel-call.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/fast-isel-call.ll b/llvm/test/CodeGen/ARM/fast-isel-call.ll index 3833043ad73..d10a381df6a 100644 --- a/llvm/test/CodeGen/ARM/fast-isel-call.ll +++ b/llvm/test/CodeGen/ARM/fast-isel-call.ll @@ -92,7 +92,7 @@ declare signext i8 @t7(); declare zeroext i8 @t8(); declare zeroext i1 @t9(); -define i32 @t10(i32 %argc, i8** nocapture %argv) { +define i32 @t10() { entry: ; ARM: @t10 ; ARM: movw [[R0:l?r[0-9]*]], #0 |