[clang] [llvm] [DirectX][DXIL] Set DXIL Version in DXIL target triple based on shader model version (PR #90809)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Fri May 3 15:20:58 PDT 2024
================
@@ -630,7 +630,7 @@ extern "C" int optMain(
}
}
- Triple ModuleTriple(M->getTargetTriple());
+ Triple ModuleTriple(Triple::normalize(M->getTargetTriple()));
----------------
bogner wrote:
Similarly to my concern about updating `createTargetMachineForTriple`, I don't think opt should messing with the triple it's given.
https://github.com/llvm/llvm-project/pull/90809
More information about the cfe-commits
mailing list