[PATCH] D110579: [AMDGPU] Add a new intrinsic to control fp_trunc rounding mode
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 8 08:24:31 PST 2022
sepavloff accepted this revision.
sepavloff added a comment.
This revision is now accepted and ready to land.
It looks good to me.
I had a look at generic changes only, someone with expertise in AMDGPU should also approve this patch.
================
Comment at: llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp:2268
+ MIB.addImm((int)RoundMode.getValue());
+ MIB->setFlags(Flags);
+
----------------
Flags could be set in the call to `MIRBuilder.buildInstr`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110579/new/
https://reviews.llvm.org/D110579
More information about the llvm-commits
mailing list