diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-04-29 21:52:58 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-04-29 21:52:58 +0000 |
commit | ee81b23fe78d70aef8a49df2c55a6d98f611a77d (patch) | |
tree | 583fdc4e88173e5f2a1315d02b23ed93b71e1b38 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 701c21ea107280011c74cb0c41e9db9a3bd30cee (diff) | |
download | bcm5719-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