aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2020-12-28 20:31:46 -0600
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2020-12-28 20:36:16 -0600
commit4f568fbd21636c7c8d071f1901084cc0ae87f3ee (patch)
tree8fa2338c7b7d020419b3c653c37f5158ee0e40b6 /llvm/lib/CodeGen/MachineFunction.cpp
parent0e9abcfc1920f25a959eaa08116427b795e10dd8 (diff)
downloadllvm-4f568fbd21636c7c8d071f1901084cc0ae87f3ee.zip
llvm-4f568fbd21636c7c8d071f1901084cc0ae87f3ee.tar.gz
llvm-4f568fbd21636c7c8d071f1901084cc0ae87f3ee.tar.bz2
[PowerPC] Do not emit HW loop when TLS var accessed in PHI of loop exit
If any PHI nodes in loop exit blocks have incoming values from the loop that are accesses of TLS variables with local dynamic or general dynamic TLS model, the address will be computed inside the loop. Since this includes a call to __tls_get_addr, this will in turn cause the CTR loops verifier to complain. Disable CTR loops in such cases. Fixes: https://bugs.llvm.org/show_bug.cgi?id=48527
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions