[llvm] [ConstantFolding] Fix type mismatch in ConstantFolding for vector types. (PR #181695)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 16 11:44:08 PST 2026
================
@@ -0,0 +1,20 @@
+; RUN: opt < %s -mtriple=amdgcn -passes=early-cse -S | FileCheck %s
----------------
nikic wrote:
The triple shouldn't be needed.
It would also be clearer to make this an InstSimplify test: https://llvm.godbolt.org/z/6e7f4vKfM This only fails in EarlyCSE because EarlyCSE also happens to use InstSimplify.
https://github.com/llvm/llvm-project/pull/181695
More information about the llvm-commits
mailing list