[NFC][LICM] Update the comment in the scalar-promote.ll
authorDjordje Todorovic <djordje.todorovic@syrmia.com>
Mon, 6 Dec 2021 10:58:50 +0000 (02:58 -0800)
committerDjordje Todorovic <djtodoro@cisco.com>
Mon, 6 Dec 2021 11:00:39 +0000 (03:00 -0800)
The comment was stale after the https://reviews.llvm.org/D113289
was committed.

llvm/test/Transforms/LICM/scalar-promote.ll

index c064edb..30088b2 100644 (file)
@@ -309,7 +309,8 @@ exit:
   ret i32 %ret
 }
 
-; Make sure we don't promote if the store is really control-flow dependent.
+; Hoist the load even if we cannot sink the store, since the store is really
+; control-flow dependent.
 define i32 @test7bad() {
 ; CHECK-LABEL: @test7bad(
 ; CHECK-NEXT:  entry: