Skip to content

Commit 4ce3f0e

Browse files
committed
Add a FIXME comment to mention it's a temporary fix.
1 parent 754913c commit 4ce3f0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Analysis/LoopInfo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ static cl::opt<bool, true>
6060

6161
bool Loop::isLoopInvariant(const Value *V) const {
6262
if (const Instruction *I = dyn_cast<Instruction>(V)) {
63+
// FIXME: this is semantically inconsistent. We're tracking a proper fix in
64+
// issue #149604.
6365
// If V is a pointer to stack object and F is a coroutine function, then V
6466
// may not be loop invariant because the ramp function and resume function
6567
// have different stack frames.

0 commit comments

Comments
 (0)