[PowerPC] On PPC32, 128-bit shifts might be runtime calls
authorHal Finkel <hfinkel@anl.gov>
Sun, 11 May 2014 16:23:29 +0000 (16:23 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 11 May 2014 16:23:29 +0000 (16:23 +0000)
commit87f4cf702855ef738c18dfde5e92e6be60490dca
treeccda1f332d5b2427d62ff146e4a01114a35500a8
parentf2bd3350421964207a1ef258367afa74f33aa1cf
[PowerPC] On PPC32, 128-bit shifts might be runtime calls

The counter-loops formation pass needs to know what operations might be
function calls (because they can't appear in counter-based loops). On PPC32,
128-bit shifts might be runtime calls (even though you can't use __int128 on
PPC32, it seems that SROA might form them).

Fixes PR19709.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208501 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCCTRLoops.cpp
test/CodeGen/PowerPC/ctrloop-sh.ll [new file with mode: 0644]