summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-12-11 11:37:27 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-12-11 11:37:27 +0000
commitd1093636cc7e16f20113b5d991e07430150ad7d8 (patch)
treea34b8af604f7c05cb495a851fe2520c4dc0a3e37 /clang/test
parent88adc5e815119e964a192219b56c0cb46857a545 (diff)
downloadbcm5719-llvm-d1093636cc7e16f20113b5d991e07430150ad7d8.tar.gz
bcm5719-llvm-d1093636cc7e16f20113b5d991e07430150ad7d8.zip
Extend (truncate (load)) folding
DAGCombiner could fold (truncate (load)) -> smaller load if the original load was the width of the truncation result or wider. This patch extends it to handle cases where the original load was narrower (and so the extension type stays the same). llvm-svn: 197030
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud