[XCore] Add dag combines for instructions that ignore some input bits.
authorRichard Osborne <richard@xmos.com>
Thu, 27 Feb 2014 13:20:11 +0000 (13:20 +0000)
committerRichard Osborne <richard@xmos.com>
Thu, 27 Feb 2014 13:20:11 +0000 (13:20 +0000)
commit83eab939a4f85b8571cee5c3907ac3de0f642f06
treeddb42244fdf5595f7be02d8b40b08ff8cb33b9aa
parentef174f733a64cd1486ee6a56fd833e1802c397eb
[XCore] Add dag combines for instructions that ignore some input bits.

These instructions ignore the high bits of one of their input operands -
try and use this to simplify the code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202394 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreISelLowering.cpp
test/CodeGen/XCore/resources_combine.ll