mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226661 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
283 B
LLVM
11 lines
283 B
LLVM
; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -O0 | FileCheck %s
|
|
; CHECK: leal {{[-0-9]*}}(%r{{s|b}}p),
|
|
; CHECK-NOT: leal {{[-0-9]*}}(%e{{s|b}}p),
|
|
|
|
define void @foo(i32** %p) {
|
|
%a = alloca i32, i32 10
|
|
%addr = getelementptr i32* %a, i32 4
|
|
store i32* %addr, i32** %p
|
|
ret void
|
|
}
|