llvm/compiler-rt/test/orc/TestCases/Linux/ppc64/Inputs/trivial-tls-pwr10.cpp

extern thread_local int x;
extern thread_local int y;
extern thread_local int z;

int __attribute__((target("arch=pwr10"))) TestPOWER10() { return x + y + z; }