[PATCH] D124293: [SLP][NFC] Pre-commit test showing deficiency in current roots selection algorithm

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 23 03:45:13 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/test/Transforms/SLPVectorizer/X86/vectorize-pair-path.ll:48
+  %i03 = fmul fast double undef, %i02
+  %i04 = fsub fast double %i03, undef
+  %i05 = fmul fast double %i04, 4.0
----------------
Why are there undef float-ops? Is this the only way to expose the issue? If you run this through opt -O3 all you get is a posion result.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124293



More information about the llvm-commits mailing list