Skip to content

Commit c8c5256

Browse files
authored
[Flang] Remove unused triple variable. NFC (#77275)
I'm not sure why we don't get an unused variable warning, but triple doesn't seem to be used after 898db11.
1 parent e35c912 commit c8c5256

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

flang/lib/Frontend/FrontendActions.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -743,9 +743,6 @@ void CodeGenAction::generateLLVMIR() {
743743

744744
MLIRToLLVMPassPipelineConfig config(level, opts);
745745

746-
const auto targetOpts = ci.getInvocation().getTargetOpts();
747-
const llvm::Triple triple(targetOpts.triple);
748-
749746
if (auto vsr = getVScaleRange(ci)) {
750747
config.VScaleMin = vsr->first;
751748
config.VScaleMax = vsr->second;

0 commit comments

Comments
 (0)