You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
382 B

; RUN: llc -march=hexagon < %s | FileCheck %s
target triple = "hexagon-unknown--elf"
@g0 = external thread_local(initialexec) global i32
@g1 = external thread_local(initialexec) global i32
; CHECK-DAG: r{{[0-9]+}} = memw(##g0@IE)
; CHECK-DAG: r{{[0-9]+}} = memw(##g1@IE)
define i32 @f0() {
b0:
%v0 = load i32, i32* @g1, align 4
store i32 %v0, i32* @g0, align 4
ret i32 0
}