aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
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/lib/Lex/ModuleMap.cpp
parent88adc5e815119e964a192219b56c0cb46857a545 (diff)
downloadllvm-d1093636cc7e16f20113b5d991e07430150ad7d8.zip
llvm-d1093636cc7e16f20113b5d991e07430150ad7d8.tar.gz
llvm-d1093636cc7e16f20113b5d991e07430150ad7d8.tar.bz2
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/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions