projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[DAGCombiner] Added CTPOP vector constant folding support.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fastcall-correct-mangling.ll
diff --git
a/test/CodeGen/X86/fastcall-correct-mangling.ll
b/test/CodeGen/X86/fastcall-correct-mangling.ll
index 15cffa4fbd0620639b23a68805a68b0de01a4f12..bc53fe8aa4ecbf146352bdbeb3d007f9ce28afd9 100644
(file)
--- a/
test/CodeGen/X86/fastcall-correct-mangling.ll
+++ b/
test/CodeGen/X86/fastcall-correct-mangling.ll
@@
-24,3
+24,10
@@
define x86_fastcallcc i32 @"\01DoNotMangle"(i32 %a) {
entry:
ret i32 %a
}
entry:
ret i32 %a
}
+
+define private x86_fastcallcc void @dontCrash() {
+; The name is fairly arbitrary since it is private. Just don't crash.
+; CHECK32-LABEL: {{^}}L@dontCrash@0:
+; CHECK64-LABEL: {{^}}LdontCrash:
+ ret void
+}