aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/includes.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-08-27 08:09:28 -0400
committerSanjay Patel <spatel@rotateright.com>2021-08-27 08:10:20 -0400
commit416a119f9e5ce45df4c26215d19ed5be29b052cd (patch)
tree38628dc88501b96859569bafe7073d3c15d097f9 /libcxx/include/__algorithm/includes.h
parent15b2a8e7faf6b10c1371d0283a0287cf2c93ed0e (diff)
downloadllvm-416a119f9e5ce45df4c26215d19ed5be29b052cd.zip
llvm-416a119f9e5ce45df4c26215d19ed5be29b052cd.tar.gz
llvm-416a119f9e5ce45df4c26215d19ed5be29b052cd.tar.bz2
[GlobalOpt] don't hoist constant expressions that can trap
We try to forward a stored-once-constant-value from one global access to another, but that's not safe if the constant value is an expression that can trap. The tests are reduced from the miscompile examples in: https://llvm.org/PR47578 Differential Revision: https://reviews.llvm.org/D108771
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions