summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-07 19:45:41 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-07 19:45:41 +0000
commit5c9bb7119a54f71b8b04e113c3e357e35bf065d8 (patch)
tree4b3b90b5e290b08da886c46fb8ec65b020122a07 /lib/Bitcode/Reader/BitcodeReader.cpp
parentdd2d4303527c4be7d5a050f1cc11831e76114181 (diff)
downloadllvm-5c9bb7119a54f71b8b04e113c3e357e35bf065d8.tar.gz
llvm-5c9bb7119a54f71b8b04e113c3e357e35bf065d8.tar.bz2
llvm-5c9bb7119a54f71b8b04e113c3e357e35bf065d8.tar.xz
R600: Match 24-bit arithmetic patterns in a Target DAGCombine
Moving these patterns from TableGen files to PerformDAGCombine() should allow us to generate better code by eliminating unnecessary shifts and extensions earlier. This also fixes a bug where the MAD pattern was calling SimplifyDemandedBits with a 24-bit mask on the first operand even when the full pattern wasn't being matched. This occasionally resulted in some instructions being incorrectly deleted from the program. v2: - Fix bug with 64-bit mul git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions