Skip to content

Commit a7e5a7c

Browse files
ritter-x2aarsenm
andauthored
Update llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Co-authored-by: Matt Arsenault <[email protected]>
1 parent 19512cb commit a7e5a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15877,7 +15877,7 @@ SITargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI_,
1587715877
RC = TRI->getAGPRClassForBitWidth(Width);
1587815878
if (RC) {
1587915879
Reg = TRI->getMatchingSuperReg(Reg, AMDGPU::sub0, RC);
15880-
if (!Reg ) {
15880+
if (!Reg) {
1588115881
// The register class does not contain the requested register,
1588215882
// e.g., because it is an SGPR pair that would violate alignment
1588315883
// requirements.

0 commit comments

Comments
 (0)