mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
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
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep llvm.trap
|
; RUN: llvm-as < %s | llc -march=ppc32 | grep nop
|
||||||
// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep unreachable
|
|
||||||
|
|
||||||
void bork() {
|
define void @bork() noreturn nounwind {
|
||||||
int *address = 0;
|
entry:
|
||||||
*address = 0;
|
unreachable
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user