aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LCSSA.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-01-05 10:54:07 +0200
committerMartin Storsjö <martin@martin.st>2022-01-05 11:12:19 +0200
commit29b6e967f3e99ac45340ea37a70262c70e4e7528 (patch)
tree469a70a25565b43f937d400a4fc1c15906b60947 /llvm/lib/Transforms/Utils/LCSSA.cpp
parent30d739603c15893a66431ac612d73a07fa6614e6 (diff)
downloadllvm-29b6e967f3e99ac45340ea37a70262c70e4e7528.zip
llvm-29b6e967f3e99ac45340ea37a70262c70e4e7528.tar.gz
llvm-29b6e967f3e99ac45340ea37a70262c70e4e7528.tar.bz2
Revert "[InferAttrs] Add writeonly to all the math functions"
This reverts commit ea75be3d9df448b6abafaf752a8141764d93ca33 and 1eb5b6e85045d22720f177a02aaf7097930e4b4f. That commit caused crashes with compilation e.g. like this (not fixed by the follow-up commit): $ cat sqrt.c float a; b() { sqrt(a); } $ clang -target x86_64-linux-gnu -c -O2 sqrt.c Attributes 'readnone and writeonly' are incompatible! %sqrtf = tail call float @sqrtf(float %0) #1 in function b fatal error: error in backend: Broken function found, compilation aborted!
Diffstat (limited to 'llvm/lib/Transforms/Utils/LCSSA.cpp')
0 files changed, 0 insertions, 0 deletions