Skip to content

Commit 8ffbe2f

Browse files
SC llvm teamSC llvm team
authored andcommitted
Merged main:5c94dd73b2df1f6b469e858ff29055ac117e8494 into amd-gfx:ae15f5c22c46
Local branch amd-gfx ae15f5c Merged main:0916ae49b89db6eb9eee9f6fee4f1a65fd9cdb74 into amd-gfx:b0eb828c0946 Remote branch main 5c94dd7 [X86][AMX] Avoid to construct invalid shape for checking, NFCI (llvm#105973)
2 parents ae15f5c + 5c94dd7 commit 8ffbe2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/CodeGen/VirtRegMap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class TargetInstrInfo;
114114
bool isShapeMapEmpty() const { return Virt2ShapeMap.empty(); }
115115

116116
bool hasShape(Register virtReg) const {
117-
return getShape(virtReg).isValid();
117+
return Virt2ShapeMap.contains(virtReg);
118118
}
119119

120120
ShapeT getShape(Register virtReg) const {

llvm/include/llvm/Config/llvm-config.h.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/* Indicate that this is LLVM compiled from the amd-gfx branch. */
1818
#define LLVM_HAVE_BRANCH_AMD_GFX
19-
#define LLVM_MAIN_REVISION 509551
19+
#define LLVM_MAIN_REVISION 509552
2020

2121
/* Define if LLVM_ENABLE_DUMP is enabled */
2222
#cmakedefine LLVM_ENABLE_DUMP

0 commit comments

Comments
 (0)