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]
/
clang
/
test
/
CodeGenCXX
/
flatten.cpp
blob
e988d6d726dd7ab359d2a15725fb1efa04d2166f
1
// RUN: %clang_cc1 -triple=x86_64-linux-gnu -std=c++11 %s -emit-llvm -o - | FileCheck %s
2
3
void
f
(
void
) {}
4
5
[[
gnu
::
flatten
]]
6
// CHECK: define{{.*}} void @_Z1gv()
7
void
g
(
void
) {
8
// CHECK-NOT: call {{.*}} @_Z1fv
9
f
();
10
}