aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-15 09:01:13 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-15 09:01:13 +0000
commit7a28f95419a04eb9bc2ab07584485fd979d4eb4d (patch)
tree234020d9a7d4a6b111df0567a40ec8727efda902 /clang/lib/Basic/SourceManager.cpp
parent9dcfcf50c2bd0b35a6a9a343c79f628b655ea935 (diff)
downloadllvm-7a28f95419a04eb9bc2ab07584485fd979d4eb4d.zip
llvm-7a28f95419a04eb9bc2ab07584485fd979d4eb4d.tar.gz
llvm-7a28f95419a04eb9bc2ab07584485fd979d4eb4d.tar.bz2
Make '-mtune=x86_64' assume fast unaligned memory accesses.
Not all chips targeted by x86_64 have this feature, but a dramatically increasing number do. Specifying a chip-specific tuning parameter will continue to turn the feature on or off as appropriate for that particular chip, but the generic flag should try to achieve the best performance on the most widely available hardware. Today, the number of chips with fast UA access dwarfs those without in the x86-64 space. Note that this also brings LLVM's code generation for this '-march' flag more in line with that of modern GCCs. Reviewed by Dan Gohman. llvm-svn: 170269
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions