[all-commits] [llvm/llvm-project] 626cbf: [X86] isGuaranteedNotToBeUndefOrPoison - add simpl...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 7 09:23:12 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 626cbf70f1eb7827eaedec5f389a38caa60e82a9
      https://github.com/llvm/llvm-project/commit/626cbf70f1eb7827eaedec5f389a38caa60e82a9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] isGuaranteedNotToBeUndefOrPoison - add simple target shuffles with known test coverage (#161553)

Add a number of simple target shuffles (fixed shuffle mask or simple
immediate control) to
isGuaranteedNotToBeUndefOrPoison/canCreateUndefOrPoisonForTargetNode
that have known test coverage and obviously don't introduce
undef/poison.

These were found by adding an assert for unhandled target shuffles and
running over CodeGen/X86 - providing explicit test coverage is
incredibly difficult as ISD::VECTOR_SHUFFLE nodes will typically handle
freeze nodes before we lower to these target shuffle nodes.



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