[PATCH] D103233: [Matrix] Preserve existing fast-math flags during lowering

Hamza Mahfooz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 27 02:47:27 PDT 2021


effective-light created this revision.
effective-light added a reviewer: fhahn.
Herald added subscribers: tschuett, hiraditya.
effective-light requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch makes it so, floating-point instructions created in
LowerMatrixIntrinsics retain fast-math flags from instructions that are
higher up the chain.

Fixes https://bugs.llvm.org/show_bug.cgi?id=49738


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103233

Files:
  llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
  llvm/test/Transforms/LowerMatrixIntrinsics/preserve-existing-fast-math-flags.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103233.348195.patch
Type: text/x-patch
Size: 6254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210527/346a4104/attachment.bin>


More information about the llvm-commits mailing list