[PATCH] D18916: AMDGPU/SI: Fix regclass for the pseudo sgpr spill instructions

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 13:56:46 PDT 2016

arsenm added inline comments.

Comment at: lib/Target/AMDGPU/SIInstrInfo.cpp:594
@@ +593,3 @@
+    // The SGPR spill/restore instructions only work on number sgprs, so
+    // we need to make srue we are using the correct register class.
+    if (TargetRegisterInfo::isVirtualRegister(SrcReg))
Typo srue


More information about the llvm-commits mailing list