aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-07-10 18:44:40 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-07-10 18:44:40 +0000
commit10bdb2b144cfb93d4d140e13efc66878a3f534f3 (patch)
treec1ccbf81c03f8d8d374633f68d0c155d31cb0a76 /clang/lib/Lex/ModuleMap.cpp
parent425b1a5106def460811aaf6a472750f2524b7134 (diff)
downloadllvm-10bdb2b144cfb93d4d140e13efc66878a3f534f3.zip
llvm-10bdb2b144cfb93d4d140e13efc66878a3f534f3.tar.gz
llvm-10bdb2b144cfb93d4d140e13efc66878a3f534f3.tar.bz2
[inlineasm] Attach readonly and readnone to inline-asm instructions.
Previously, clang/llvm treated inline-asm instructions conservatively, choosing not to eliminate the instructions or hoisting them out of a loop even when it was safe to do so. This commit makes changes to attach a readonly or readnone attribute to an inline-asm instruction, which enables passes such as LICM and EarlyCSE to move or optimize away the instruction. rdar://problem/11358192 Differential Revision: http://reviews.llvm.org/D10546 llvm-svn: 241930
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions