1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Minor fixes to a comment in CodeGenPrepare

This commit is contained in:
Juneyoung Lee 2020-03-25 16:34:34 +09:00
parent 029e75ad61
commit 1f40e952e7

View File

@ -7200,7 +7200,7 @@ bool CodeGenPrepare::optimizeInst(Instruction *I, bool &ModifiedDT) {
}
if (FreezeInst *FI = dyn_cast<FreezeInst>(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<ICmpInst>(FI->getOperand(0)))