[PATCH] D155696: AMDGPU: Add flag to disable fdiv processing in IR pass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 05:55:22 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, foad, rampitec, Pierre-vh.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

We kind of have to have multiple implementations of fdiv split between
the two selectors with some pre-processing. Add yet another test to
check for consistency of interpretation of flag combinations. We have
quite a bit of test redundancy here already, but there are so many
possible interesting permutations it's unwieldy to cover every detail
in any one of them. We have a number of overlapping fdiv tests but
it's hard to follow everything going on as it is.


https://reviews.llvm.org/D155696

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  llvm/test/CodeGen/AMDGPU/fdiv_flags.f32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155696.541976.patch
Type: text/x-patch
Size: 34979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/ae54963c/attachment.bin>


More information about the llvm-commits mailing list