mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Need to convert to LLVM code and not C.
llvm-svn: 46397
This commit is contained in:
parent
3e622b88b6
commit
26fb9335f5
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user