diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-12-11 11:37:27 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-12-11 11:37:27 +0000 |
commit | d1093636cc7e16f20113b5d991e07430150ad7d8 (patch) | |
tree | a34b8af604f7c05cb495a851fe2520c4dc0a3e37 /clang/lib/Lex/ModuleMap.cpp | |
parent | 88adc5e815119e964a192219b56c0cb46857a545 (diff) | |
download | llvm-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