[llvm-commits] ARMBaseInstrInfo::DefinesPredicate() returns true for any predicated instruction.
Ludwig Meier
ludw1g.m3i3r at gmail.com
Fri Nov 11 06:34:37 PST 2011
For predicated instructions, that do NOT modify the CPSR,
ARMBaseInstrInfo::DefinesPredicate() currently returns true. This is
because predicated instructions have a MachineOperand added, that refers
to the CPSR.
This patch tests, if the instruction does write to the CPSR before
returning true.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARM_DefinesPredicate.patch
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111111/d66320fb/attachment.bin>
More information about the llvm-commits
mailing list