[llvm-commits] [llvm] r46397 - /llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
Bill Wendling
isanbard at gmail.com
Fri Jan 25 22:56:08 PST 2008
Author: void
Date: Sat Jan 26 00:56:08 2008
New Revision: 46397
URL: http://llvm.org/viewvc/llvm-project?rev=46397&view=rev
Log:
Need to convert to LLVM code and not C.
Modified:
llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll?rev=46397&r1=46396&r2=46397&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll Sat Jan 26 00:56:08 2008
@@ -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
}
More information about the llvm-commits
mailing list