[clang] [flang] [llvm] [mlir] [TargetRegistry] Accept Triple in createTargetMachine() (NFC) (PR #130940)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 12 03:55:33 PDT 2025
================
@@ -84,10 +84,9 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
}
// Allocate a target...
- TargetMachine *Target =
- TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,
- Options, RelocModel, CMModel, OptLevel,
- /*JIT*/ true);
+ TargetMachine *Target = TheTarget->createTargetMachine(
+ TheTriple, MCPU, FeaturesStr, Options, RelocModel, CMModel, OptLevel,
+ /*JIT*/ true);
----------------
arsenm wrote:
```suggestion
/*JIT=*/ true);
```
https://github.com/llvm/llvm-project/pull/130940
More information about the cfe-commits
mailing list