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:
parent
029e75ad61
commit
1f40e952e7
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user