mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
16 lines
272 B
Plaintext
16 lines
272 B
Plaintext
|
; RUN: llvm-c-test --calc <%s | FileCheck %s
|
||
|
|
||
|
; constant folding
|
||
|
test 100 200 +
|
||
|
;CHECK: ModuleID = 'test'
|
||
|
;CHECK: define i64 @test
|
||
|
;CHECK: {
|
||
|
;CHECK: ret i64 300
|
||
|
;CHECK: }
|
||
|
|
||
|
arg1 0 @ 0 @ * 1 @ 1 @ * +
|
||
|
;CHECK: ModuleID = 'arg1'
|
||
|
;CHECK: getelementptr
|
||
|
;CHECK: load
|
||
|
;CHECK: ret
|