[PATCH] D50469: AMDGPU: Check NSZ MI flag when folding omod

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 8 12:58:17 PDT 2018


arsenm created this revision.
arsenm added reviewers: mareko, nhaehnle.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, kzhuravl.

I'm not sure the exact nsz flag combination that
is OK. I think as long as it's on either, this is OK.
For now just check it on the omod multiply.


https://reviews.llvm.org/D50469

Files:
  lib/Target/AMDGPU/SIFoldOperands.cpp
  test/CodeGen/AMDGPU/omod-nsz-flag.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50469.159770.patch
Type: text/x-patch
Size: 3088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180808/a79967d7/attachment.bin>


More information about the llvm-commits mailing list