[PATCH] D104410: GlobalISel/Utils: Refactor constant splat match functions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 17 03:35:57 PDT 2021


foad added a comment.

Generally looks OK to me. Any more comments @paquette?



================
Comment at: llvm/lib/CodeGen/GlobalISel/Utils.cpp:987
+                                                 bool AllowUndef) {
+  // Match as any constant and get APFloat from Reg. Allows nan splat matching.
+  if (auto SplatValAndReg = getAnyConstantSplat(VReg, MRI, AllowUndef))
----------------
What does "Allows nan splat matching" mean?


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

https://reviews.llvm.org/D104410



More information about the llvm-commits mailing list