aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/fast-isel-call.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-06-21 22:56:30 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-06-21 22:56:30 +0000
commit1948910e3186d31bc0d213ecd0d7e87bb2c2760d (patch)
tree72933564b70b854dfc26c146d92c8743e87da24c /test/CodeGen/ARM/fast-isel-call.ll
parentb37e50b6601c0551b36d59b01fe80b9acd4703e5 (diff)
downloadexternal_llvm-1948910e3186d31bc0d213ecd0d7e87bb2c2760d.zip
external_llvm-1948910e3186d31bc0d213ecd0d7e87bb2c2760d.tar.gz
external_llvm-1948910e3186d31bc0d213ecd0d7e87bb2c2760d.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/fast-isel-call.ll')
-rw-r--r--test/CodeGen/ARM/fast-isel-call.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/fast-isel-call.ll b/test/CodeGen/ARM/fast-isel-call.ll
index 3833043..d10a381 100644
--- a/test/CodeGen/ARM/fast-isel-call.ll
+++ b/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