From 453eac3f779b562b68b5171d0b30481111c2b51e Mon Sep 17 00:00:00 2001 From: Juneyoung Lee Date: Wed, 25 Mar 2020 16:34:34 +0900 Subject: Minor fixes to a comment in CodeGenPrepare --- llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp') diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 1cccd6f..1fd5154 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -7200,7 +7200,7 @@ bool CodeGenPrepare::optimizeInst(Instruction *I, bool &ModifiedDT) { } if (FreezeInst *FI = dyn_cast(I)) { - // br(freeze(icmp a, const)) -> br(icmp (freeze a), const) + // freeze(icmp a, const)) -> icmp (freeze a), const // This helps generate efficient conditional jumps. Instruction *CmpI = nullptr; if (ICmpInst *II = dyn_cast(FI->getOperand(0))) -- cgit v1.1