[PATCH] D99675: RFC [llvm][clang] Create new intrinsic llvm.arith.fence to control FP optimization at expression level
Melanie Blower via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 16 11:34:20 PDT 2021
mibintc added a comment.
In D99675#2695424 <https://reviews.llvm.org/D99675#2695424>, @kpn wrote:
> What changes are needed for a backend, and what happens if they aren't done?
In the clang patch, I'm planning to add into TargetInfo a function like "does the target support __arithmetic_fence"?
In the llvm patch, the fallback implementation could be to merely ignore the call, and pass through the operand value. Is that adequate?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99675/new/
https://reviews.llvm.org/D99675
More information about the llvm-commits
mailing list