Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 
      3 target triple = "hexagon-unknown--elf"
      4 
      5 @g0 = external thread_local(initialexec) global i32
      6 @g1 = external thread_local(initialexec) global i32
      7 
      8 ; CHECK-DAG: r{{[0-9]+}} = memw(##g0@IE)
      9 ; CHECK-DAG: r{{[0-9]+}} = memw(##g1@IE)
     10 define i32 @f0() {
     11 b0:
     12   %v0 = load i32, i32* @g1, align 4
     13   store i32 %v0, i32* @g0, align 4
     14   ret i32 0
     15 }
     16