[PATCH] D121243: [InstCombine] Preserve FMF in foldLogicOfFCmps.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 14:05:23 PST 2022


craig.topper updated this revision to Diff 413930.
craig.topper added a comment.

Adding a TODO for unioning the flags. Intersecting at least an improvement for many cases where both instructions have the same flags.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121243

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/and-fcmp.ll
  llvm/test/Transforms/InstCombine/or-fcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121243.413930.patch
Type: text/x-patch
Size: 4146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220308/8f505482/attachment.bin>


More information about the llvm-commits mailing list