aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Hashing.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2012-03-01 14:32:18 +0000
committerJames Molloy <james.molloy@arm.com>2012-03-01 14:32:18 +0000
commit391016025a72612577cc7b8046fed60bed1aa858 (patch)
treecf06ddbdf5cbcc731b37221368bf0e31c4f04165 /lib/Support/Hashing.cpp
parentccc8d3ba06408feff0ca6e58973c20d15010e3fc (diff)
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". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Hashing.cpp')
0 files changed, 0 insertions, 0 deletions