OSDN Git Service

Check InlineAsm clobbers in PPCCTRLoops
authorHal Finkel <hfinkel@anl.gov>
Sat, 18 May 2013 09:20:39 +0000 (09:20 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sat, 18 May 2013 09:20:39 +0000 (09:20 +0000)
commitbf0bc3b2a2e11ff7e79b881ca82324fe17919a97
treed954a0523b7bedfa4720f460641dd06691eb9fcb
parent9f61e485e6c4a6763695ab399ff61567271836df
Check InlineAsm clobbers in PPCCTRLoops

We don't need to reject all inline asm as using the counter register (most does
not). Only those that explicitly clobber the counter register need to prevent
the transformation.

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