From 1f40e952e7f781d6e5091b352f1bcd5af180bd11 Mon Sep 17 00:00:00 2001 From: Juneyoung Lee Date: Wed, 25 Mar 2020 16:34:34 +0900 Subject: [PATCH] Minor fixes to a comment in CodeGenPrepare --- lib/CodeGen/CodeGenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CodeGenPrepare.cpp b/lib/CodeGen/CodeGenPrepare.cpp index 1cccd6fade4..1fd5154cbf5 100644 --- a/lib/CodeGen/CodeGenPrepare.cpp +++ b/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)))