llvm-6502/include
Jakob Stoklund Olesen f2c64ef519 Add an MCID::Select flag and TII hooks for optimizing selects.
Select instructions pick one of two virtual registers based on a
condition, like x86 cmov. On targets like ARM that support predication,
selects can sometimes be eliminated by predicating the instruction
defining one of the operands.

Teach PeepholeOptimizer to recognize select instructions, and ask the
target to optimize them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162059 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-16 23:11:47 +00:00
..
llvm Add an MCID::Select flag and TII hooks for optimizing selects. 2012-08-16 23:11:47 +00:00
llvm-c A couple of addition comment fixes 2012-08-10 18:30:44 +00:00