[llvm] [DirectX] Fix DXIL part header version encoding (PR #91506)
Xiang Li via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 13:17:40 PDT 2024
================
@@ -537,9 +537,7 @@ static int compileModule(char **argv, LLVMContext &Context) {
// If we are supposed to override the target triple, do so now.
std::string IRTargetTriple = DataLayoutTargetTriple.str();
if (!TargetTriple.empty())
- IRTargetTriple = TargetTriple;
- if (!IRTargetTriple.empty())
- IRTargetTriple = Triple::normalize(IRTargetTriple);
+ IRTargetTriple = Triple::normalize(TargetTriple);
----------------
python3kgae wrote:
No. There's no change in llc.cpp now.
https://github.com/llvm/llvm-project/pull/91506
More information about the llvm-commits
mailing list