aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-08-18 22:48:12 +0000
committerSanjay Patel <spatel@rotateright.com>2015-08-18 22:48:12 +0000
commit5c55fbc5eafabf012ddb29bbbab230dc045a1812 (patch)
tree02be4d1b424f522a45cbf6c6f080714d98f50061 /clang/lib/Lex/ModuleMap.cpp
parent10bc1a4e833c31d88c4724178f269e21ff1eab12 (diff)
downloadllvm-5c55fbc5eafabf012ddb29bbbab230dc045a1812.zip
llvm-5c55fbc5eafabf012ddb29bbbab230dc045a1812.tar.gz
llvm-5c55fbc5eafabf012ddb29bbbab230dc045a1812.tar.bz2
use TLI.allowsMemoryAccess() to check if memory accesses are fast; NFCI
This consolidates use of isUnalignedMem32Slow() in one place. There is a slight change in logic although I'm not sure that it would ever come up in the real world: we were assuming that an alignment of the type size is always fast; now, we actually check the data layout to confirm that. llvm-svn: 245382
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions