[DAGCombiner] Added CTPOP vector constant folding support.
[oota-llvm.git] / test / CodeGen / X86 / fastcall-correct-mangling.ll
index 15cffa4fbd0620639b23a68805a68b0de01a4f12..bc53fe8aa4ecbf146352bdbeb3d007f9ce28afd9 100644 (file)
@@ -24,3 +24,10 @@ define x86_fastcallcc i32 @"\01DoNotMangle"(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
+}