[PATCH] D154824: [AMDGPU] Check for denormal flushing when selecting V_FMA/MAD_MIX*

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 02:07:31 PDT 2023


matejam updated this revision to Diff 539899.
matejam added a comment.

Since it doesn't affect any tests, should I add this line in D153544 <https://reviews.llvm.org/D153544>?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154824/new/

https://reviews.llvm.org/D154824

Files:
  llvm/lib/Target/AMDGPU/VOP3PInstructions.td


Index: llvm/lib/Target/AMDGPU/VOP3PInstructions.td
===================================================================
--- llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+++ llvm/lib/Target/AMDGPU/VOP3PInstructions.td
@@ -228,7 +228,7 @@
   >;
 }
 
-let SubtargetPredicate = HasMadMixInsts in {
+let SubtargetPredicate = HasMadMixInsts, OtherPredicates = [NoFP32Denormals] in {
 
 // These are VOP3a-like opcodes which accept no omod.
 // Size of src arguments (16/32) is controlled by op_sel.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154824.539899.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230713/8bc871b4/attachment.bin>


More information about the llvm-commits mailing list