[llvm] [InstCombine][foldPHIArgGEPIntoPHI] Early return for const vector index for gep inst. (PR #138661)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 02:12:44 PDT 2025


================
@@ -0,0 +1,43 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt < %s -passes=instcombine -S | FileCheck %s
+
+%vec = type { %vec_base }
+%vec_base = type { [4 x float] }
+%foo = type { %vec, %vec}
----------------
haonanya1 wrote:

done, thanks.

https://github.com/llvm/llvm-project/pull/138661


More information about the llvm-commits mailing list