1 ; RUN: llc < %s -mtriple=ve | FileCheck %s
3 @A = dso_local global i64 0, align 8
5 define i64 @leam(i64 %x) nounwind {
8 ; CHECK-NEXT: lea %s0, A@lo
9 ; CHECK-NEXT: and %s0, %s0, (32)0
10 ; CHECK-NEXT: lea.sl %s0, A@hi(, %s0)
12 ; CHECK-NEXT: lea %s0, (%s0)
14 ; CHECK-NEXT: b.l.t (, %s10)
15 %asmtmp = tail call i64 asm "lea $0, $1", "=r,*m"(ptr elementtype(i64) @A) nounwind