mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +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:
parent
cd76af4a62
commit
c79348d8dc
@ -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