[all-commits] [llvm/llvm-project] 017b9f: [InstCombine] Fix crash in `foldReversedIntrinsicO...

Yunbo Ni via All-commits all-commits at lists.llvm.org
Fri Mar 13 03:28:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 017b9f9c7a3f3a73a12ecec9319914c2f7662db3
      https://github.com/llvm/llvm-project/commit/017b9f9c7a3f3a73a12ecec9319914c2f7662db3
  Author: Yunbo Ni <ybni at cse.cuhk.edu.hk>
  Date:   2026-03-13 (Fri, 13 Mar 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/vector-reverse.ll

  Log Message:
  -----------
  [InstCombine] Fix crash in `foldReversedIntrinsicOperands` for struct-return intrinsics (#186339)

Fixes #186334 

Similar to #176556 , add the missing result type check in
`foldReversedIntrinsicOperands()`. This prevents `CreateVectorReverse()`
from being applied to struct-returning intrinsics.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list