Skip to content

Commit ab2eae1

Browse files
author
Bharadwaj Yadavalli
committed
Delete call normalize specified riple in opt driver
thereby using any dxil triple as specified.
1 parent 0eccb09 commit ab2eae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/opt/optdriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ extern "C" int optMain(
630630
}
631631
}
632632

633-
Triple ModuleTriple(Triple::normalize(M->getTargetTriple()));
633+
Triple ModuleTriple(M->getTargetTriple());
634634
std::string CPUStr, FeaturesStr;
635635
std::unique_ptr<TargetMachine> TM;
636636
if (ModuleTriple.getArch()) {

0 commit comments

Comments
 (0)