This depends on http://reviews.llvm.org/D8986.
As far as I can tell, the changes in the tests make sense.
Paths
| Differential D8998
[MachineLICM] Take regmasks into account for register pressure Needs ReviewPublic Authored by djasper on Apr 13 2015, 3:48 AM.
Details
Summary This depends on http://reviews.llvm.org/D8986. As far as I can tell, the changes in the tests make sense.
Diff Detail Event Timeline
Revision Contents
Diff 23668 lib/CodeGen/MachineLICM.cpp
test/CodeGen/Mips/prevent-hoisting.ll
test/CodeGen/X86/2008-10-27-CoalescerBug.ll
test/CodeGen/X86/licm-regpressure.ll
|
You may use BitVector::find_first and BitVector::find_next to avoid testing if i is in Clobbers.