[PATCH] D80457: AMDGPU/GlobalISel: Fixed handling of non-standard vectors

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 11:23:09 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:47-50
+static std::array<std::vector<int16_t>, 16> RegSplitParts;
+
+// HACK: Until this is fully tablegen'd.
+static llvm::once_flag InitializeRegSplitPartsFlag;
----------------
Should be a static member of TRI. I think here you'll get a global constructor for the std::array


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

https://reviews.llvm.org/D80457





More information about the llvm-commits mailing list