[PATCH] D155080: [AMDGPU] Corrrectly emit AGPR copies in tryFoldPhiAGPR

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 12:52:42 PDT 2023


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AMDGPU/SIFoldOperands.cpp:1747
 
+  bool IsAGPR32 = (ARC == &AMDGPU::AGPR_32RegClass);
+
----------------
Class equality is usually wrong but probably happens to be OK here. ARC->IsSuperclassEq?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155080



More information about the llvm-commits mailing list