Skip to content

Commit b4e8e63

Browse files
committed
fixup! [AArch64] Add ability to list extensions enabled for a target
1 parent fe60d2d commit b4e8e63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/TargetParser/AArch64TargetParser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ void AArch64::ExtensionSet::enable(ArchExtKind E) {
190190
if (Enabled.test(E))
191191
return;
192192

193-
LLVM_DEBUG(llvm::dbgs() << "Enable " << lookupExtensionByID(E).Name << "\n");
193+
LLVM_DEBUG(llvm::dbgs() << "Enable " << lookupExtensionByID(E).UserVisibleName << "\n");
194194

195195
Touched.set(E);
196196
Enabled.set(E);
@@ -231,7 +231,7 @@ void AArch64::ExtensionSet::disable(ArchExtKind E) {
231231
if (!Enabled.test(E))
232232
return;
233233

234-
LLVM_DEBUG(llvm::dbgs() << "Disable " << lookupExtensionByID(E).Name << "\n");
234+
LLVM_DEBUG(llvm::dbgs() << "Disable " << lookupExtensionByID(E).UserVisibleName << "\n");
235235

236236
Touched.set(E);
237237
Enabled.reset(E);

0 commit comments

Comments
 (0)