[llvm] 0b23b80 - [NFC][LICM] Update the comment in the scalar-promote.ll

Djordje Todorovic via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 03:01:06 PST 2021


Author: Djordje Todorovic
Date: 2021-12-06T03:00:39-08:00
New Revision: 0b23b80985e417e46d97c95f891f3e601dbfa5f1

URL: https://github.com/llvm/llvm-project/commit/0b23b80985e417e46d97c95f891f3e601dbfa5f1
DIFF: https://github.com/llvm/llvm-project/commit/0b23b80985e417e46d97c95f891f3e601dbfa5f1.diff

LOG: [NFC][LICM] Update the comment in the scalar-promote.ll

The comment was stale after the https://reviews.llvm.org/D113289
was committed.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LICM/scalar-promote.ll b/llvm/test/Transforms/LICM/scalar-promote.ll
index c064edb8cd93f..30088b2ee92ab 100644
--- a/llvm/test/Transforms/LICM/scalar-promote.ll
+++ b/llvm/test/Transforms/LICM/scalar-promote.ll
@@ -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:


        


More information about the llvm-commits mailing list