Skip to content
Commit f6298e92 authored by James Molloy's avatar James Molloy
Browse files

Fix a codegen fault in which log2 or exp2 could be dead-code eliminated even...

Fix a codegen fault in which log2 or exp2 could be dead-code eliminated even though they could have sideeffects.

Only allow log2/exp2 to be converted to an intrinsic if they are declared "readnone".

llvm-svn: 151807
parent e39d7ac3
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