From 4356f254b71f9c840fb968286ebe11251aa0d291 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 6 May 2025 01:16:31 +0000 Subject: [PATCH] [llvm][NFC] Fix bracing from #138414 I had forgotten to upload the formatting change. --- llvm/lib/Transforms/Utils/Local.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp index ce03bc066c6e2..1db01b2716a09 100644 --- a/llvm/lib/Transforms/Utils/Local.cpp +++ b/llvm/lib/Transforms/Utils/Local.cpp @@ -4225,9 +4225,8 @@ bool llvm::canReplaceOperandWithVariable(const Instruction *I, unsigned OpIdx) { return false; // Early exit. - if (!isa(I->getOperand(OpIdx))) { + if (!isa(I->getOperand(OpIdx))) return true; - } switch (I->getOpcode()) { default: