diff --git a/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll b/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll index 896738ee063..909e8ee0e95 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 }