[llvm] [AggressiveInstCombine] Add shufflevector support to TruncInstCombine (PR #220218)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 00:13:51 PDT 2026


================
@@ -147,7 +149,8 @@ bool TruncInstCombine::buildTruncExpressionGraph() {
     case Instruction::URem:
     case Instruction::InsertElement:
     case Instruction::ExtractElement:
-    case Instruction::Select: {
+    case Instruction::Select:
+    case Instruction::ShuffleVector: {
----------------
zhangweize9-cyber wrote:

Hmm, please sync the latest main branch and compile again. I suspect it's because my local environment is slightly different from yours.

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


More information about the llvm-commits mailing list