[PATCH] D110226: [InstCombine] Update InstcombineCast to use poison instead of undef for shufflevector's placeholder (1/4)

Hyeongyu Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 01:19:17 PDT 2021


hyeongyukim created this revision.
Herald added a subscriber: hiraditya.
hyeongyukim requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch is for fixing potential shufflevector-related bugs like D93818 <https://reviews.llvm.org/D93818>.
As D93818 <https://reviews.llvm.org/D93818>, this patch change shufflevector's default placeholder to poison.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110226

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll
  llvm/test/Transforms/InstCombine/X86/x86-f16c.ll
  llvm/test/Transforms/InstCombine/cast.ll
  llvm/test/Transforms/InstCombine/shuffle-cast-dist.ll
  llvm/test/Transforms/InstCombine/shufflevec-bitcast-inseltpoison.ll
  llvm/test/Transforms/InstCombine/shufflevec-bitcast.ll
  llvm/test/Transforms/InstCombine/trunc-inseltpoison.ll
  llvm/test/Transforms/InstCombine/trunc.ll
  llvm/test/Transforms/InstCombine/vector-casts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110226.374150.patch
Type: text/x-patch
Size: 11966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210922/78a61594/attachment.bin>


More information about the llvm-commits mailing list