[PATCH] D139340: [InstCombine] Bubble vector.reverse of compare operands to their result.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 03:14:15 PST 2022


david-arm added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:6098
+    if (auto *I = dyn_cast<Instruction>(V))
+      I->copyIRFlags(&Cmp);
+    Module *M = Cmp.getModule();
----------------
If possible it would be nice to have a `fcmp fast` test that showed the propagation of flags here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139340



More information about the llvm-commits mailing list