[llvm] [GVN] Turn off ScalarPRE for TokenLike Types (PR #156513)
    Farzon Lotfi via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Sep  2 12:21:37 PDT 2025
    
    
  
================
@@ -0,0 +1,57 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -passes=gvn %s | FileCheck %s
+
+; NOTE: when we use a Token like type we should not introduce a phi
----------------
farzonl wrote:
@bogner i did put this note in
https://github.com/llvm/llvm-project/pull/156513
    
    
More information about the llvm-commits
mailing list