diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-06-17 11:31:56 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-06-17 14:15:12 -0700 |
commit | 99e95856fb785cb22d898e963a54e8d9a8459fc7 (patch) | |
tree | 720196b3283488604886aad1cea365e78eb14ba2 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 8441b993bdba29437b296bad6a37464669eef35e (diff) | |
download | llvm-99e95856fb785cb22d898e963a54e8d9a8459fc7.zip llvm-99e95856fb785cb22d898e963a54e8d9a8459fc7.tar.gz llvm-99e95856fb785cb22d898e963a54e8d9a8459fc7.tar.bz2 |
[PartiallyInlineLibCalls] Disable sqrt expansion for strictfp.
This pass emits a floating point compare and a conditional branch,
but if strictfp is enabled we don't emit a constrained compare
intrinsic.
The backend also won't expand the readonly sqrt call this pass inserts
to a sqrt instruction under strictfp. So we end up with 2 libcalls as
seen here. https://godbolt.org/z/oax5zMEWd
Fix these things by disabling the pass.
Differential Revision: https://reviews.llvm.org/D104479
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions