summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorNikola Prica <nikola.prica@rt-rk.com>2019-10-08 15:43:12 +0000
committerNikola Prica <nikola.prica@rt-rk.com>2019-10-08 15:43:12 +0000
commit98603a815308626fafdba930f69333da13ecc31e (patch)
tree3ea353dcf96d8e7c2543cef5c418e9e29a3a5a3c /llvm/test/CodeGen
parent41ff39605ea1c9278f6ff15208475f5f3c863f44 (diff)
downloadbcm5719-llvm-98603a815308626fafdba930f69333da13ecc31e.tar.gz
bcm5719-llvm-98603a815308626fafdba930f69333da13ecc31e.zip
[DebugInfo][If-Converter] Update call site info during the optimization
During the If-Converter optimization pay attention when copying or deleting call instructions in order to keep call site information in valid state. Reviewers: aprantl, vsk, efriedma Reviewed By: vsk, efriedma Differential Revision: https://reviews.llvm.org/D66955 llvm-svn: 374068
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/ARM/smml.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/smml.ll b/llvm/test/CodeGen/ARM/smml.ll
index af34000b2a0..712aaa4392f 100644
--- a/llvm/test/CodeGen/ARM/smml.ll
+++ b/llvm/test/CodeGen/ARM/smml.ll
@@ -8,6 +8,13 @@
; RUN: llc -mtriple=thumbv7m-eabi %s -o - | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-V4
; RUN: llc -mtriple=thumbv7em-eabi %s -o - | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-THUMBV6T2
+; Next test would previously trigger an assertion responsible for verification of
+; call site info state.
+; RUN: llc -stop-after=if-converter -debug-entry-values -mtriple=thumbv6t2-eabi %s -o -| FileCheck %s -check-prefix=CHECK-CALLSITE
+; CHECK-CALLSITE: name: test_used_flags
+; CHECK-CALLSITE: callSites:
+
+
define i32 @Test0(i32 %a, i32 %b, i32 %c) nounwind readnone ssp {
entry:
; CHECK-LABEL: Test0
OpenPOWER on IntegriCloud