Skip to content
Commit b741b945 authored by Raul E. Silvera's avatar Raul E. Silvera
Browse files

Change math intrinsic attributes from readonly to readnone. These

are operations that do not access memory but may be sensitive
to floating-point environment changes. LLVM does not attempt
to model FP environment changes, so this was unnecessarily conservative
and was getting on the way of some optimizations, in particular
SLP vectorization.

llvm-svn: 203037
parent 1de2e14f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment