aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-01-26 06:56:08 +0000
committerBill Wendling <isanbard@gmail.com>2008-01-26 06:56:08 +0000
commitc79348d8dc43345e5c232ca421ccff6a23d0e624 (patch)
tree287d6474845762da3c0e806b598f678fd4b01c44 /test/CodeGen/PowerPC
parentcd76af4a62d1c7ef4f71e5b02e2ae02382788574 (diff)
downloadexternal_llvm-c79348d8dc43345e5c232ca421ccff6a23d0e624.zip
external_llvm-c79348d8dc43345e5c232ca421ccff6a23d0e624.tar.gz
external_llvm-c79348d8dc43345e5c232ca421ccff6a23d0e624.tar.bz2
Need to convert to LLVM code and not C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll b/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
index 896738e..909e8ee 100644
--- a/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
+++ b/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
@@ -1,7 +1,6 @@
-// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep llvm.trap
-// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep unreachable
+; RUN: llvm-as < %s | llc -march=ppc32 | grep nop
-void bork() {
- int *address = 0;
- *address = 0;
+define void @bork() noreturn nounwind {
+entry:
+ unreachable
}