Skip to content

Commit 47a3ea4

Browse files
authored
[SPIRV] Use MCRegister instead of unsigned. NFC (#167585)
1 parent 5c3323a commit 47a3ea4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
#include "MCTargetDesc/SPIRVBaseInfo.h"
1717
#include "llvm/ADT/DenseSet.h"
1818
#include "llvm/MC/MCInstPrinter.h"
19+
#include "llvm/MC/MCRegister.h"
1920

2021
namespace llvm {
2122
class SPIRVInstPrinter : public MCInstPrinter {
2223
private:
23-
SmallDenseMap<unsigned, SPIRV::InstructionSet::InstructionSet> ExtInstSetIDs;
24+
SmallDenseMap<MCRegister, SPIRV::InstructionSet::InstructionSet> ExtInstSetIDs;
2425
void recordOpExtInstImport(const MCInst *MI);
2526

2627
public:

0 commit comments

Comments
 (0)