This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Refactor libcall simplify to help with future refined fast math flag usage
ClosedPublic

Authored by arsenm on Jul 31 2023, 5:21 AM.

Details

Reviewers
rampitec
dfukalov
vpykhtin
jhuber6
yaxunl
jmmartinez
Group Reviewers
Restricted Project

Diff Detail

Event Timeline

arsenm created this revision.Jul 31 2023, 5:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 5:21 AM
arsenm requested review of this revision.Jul 31 2023, 5:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 5:21 AM
Herald added subscribers: wangpc, wdng. · View Herald Transcript
jmmartinez added inline comments.
llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
642

For consistency with the rest of the fold_* functions, shouldn't fold_rootn take an FPMathOperator?

arsenm updated this revision to Diff 545654.Jul 31 2023, 7:41 AM

More FPMathOperator

jmmartinez accepted this revision.Jul 31 2023, 7:45 AM
This revision is now accepted and ready to land.Jul 31 2023, 7:45 AM