repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
MIR
/
Generic
/
dbg-value-missing-loc.mir
blob
d44ba086c7435198cbf5a92f940cfac77fda628f
1
# RUN: not --crash llc -run-pass machineverifier -o - %s 2>&1 | FileCheck %s
2
3
# CHECK: Bad machine code: Missing DebugLoc for debug instruction
4
# CHECK: - instruction: DBG_VALUE 1, 2, 3, 4
5
6
--- |
7
8
define i32 @foo() {
9
entry:
10
ret i32 0
11
}
12
13
...
14
---
15
name: foo
16
body: |
17
bb.0.entry:
18
DBG_VALUE 1, 2, 3, 4
19
...