Allow Post-RA LICM to hoist reserved register reads.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 11 Feb 2012 00:44:19 +0000 (00:44 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 11 Feb 2012 00:44:19 +0000 (00:44 +0000)
commit5637379000b9a40f2bfee8ea238dc0d3955535ce
tree018ce75d622d0675774dfb6832aa3e0a2ec5b64c
parenta6d513f47467b90344a74624d4fb77673942e3ce
Allow Post-RA LICM to hoist reserved register reads.

When using register masks, registers like %rip are clobbered by the
register mask. LICM should still be able to hoist instructions reading
%rip from a loop containing calls.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineLICM.cpp