summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-04-29 21:52:58 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-04-29 21:52:58 +0000
commitee81b23fe78d70aef8a49df2c55a6d98f611a77d (patch)
tree583fdc4e88173e5f2a1315d02b23ed93b71e1b38 /clang/lib/Frontend/CompilerInvocation.cpp
parent701c21ea107280011c74cb0c41e9db9a3bd30cee (diff)
downloadbcm5719-llvm-ee81b23fe78d70aef8a49df2c55a6d98f611a77d.tar.gz
bcm5719-llvm-ee81b23fe78d70aef8a49df2c55a6d98f611a77d.zip
[EarlyCSE] Simplify guard intrinsics
Summary: This change teaches EarlyCSE some basic properties of guard intrinsics: - Guard intrinsics read all memory, but don't write to any memory - After a guard has executed, the condition it was guarding on can be assumed to be true - Guard intrinsics on a constant `true` are no-ops Reviewers: reames, hfinkel Subscribers: mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D19578 llvm-svn: 268120
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud