[llvm-commits] [llvm] r126159 - /llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Mon Feb 21 23:12:06 PST 2011
On Feb 21, 2011, at 5:06 PM, Jakob Stoklund Olesen wrote:
>
> On Feb 21, 2011, at 3:40 PM, Evan Cheng wrote:
>
>> Author: evancheng
>> Date: Mon Feb 21 17:40:47 2011
>> New Revision: 126159
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=126159&view=rev
>> Log:
>> Skipping over debugvalue instructions to determine whether the split spot is in a IT block. rdar://9030770
>>
>> Modified:
>> llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
>>
>> Modified: llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp?rev=126159&r1=126158&r2=126159&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp (original)
>> +++ llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp Mon Feb 21 17:40:47 2011
>> @@ -95,6 +95,9 @@
>> bool
>> Thumb2InstrInfo::isLegalToSplitMBBAt(MachineBasicBlock &MBB,
>> MachineBasicBlock::iterator MBBI) const {
>> + while (MBBI->isDebugValue())
>> + ++MBBI;
>> +
>
> Does this work if the last instruction in the basic block is a DBG_VALUE?
>
Fixed: r126192.
Evan
>
More information about the llvm-commits
mailing list