X86: Align the stack on word boundaries in LowerFormalArguments()
[oota-llvm.git] / test / CodeGen / X86 / fastcall-correct-mangling.ll
index 15cffa4fbd0620639b23a68805a68b0de01a4f12..00dc44e75e8f5b1a12eede5eacf3e99ab2b36ec8 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
+}