Fix the PPC CTR Loop pass to look for calls to the intrinsics that
authorEric Christopher <echristo@gmail.com>
Tue, 8 Sep 2015 22:14:58 +0000 (22:14 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 8 Sep 2015 22:14:58 +0000 (22:14 +0000)
commit628c7c9d5d35f7aab61b117a8e72159f009263fc
tree13f8145136cdef5c23d65c2e4eecc1ecb43ed4be
parentad699c862c133e32816766822b358ec88354b148
Fix the PPC CTR Loop pass to look for calls to the intrinsics that
read CTR and count them as reading the CTR.

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