[all-commits] [llvm/llvm-project] f02d6c: [X86] Add test case showing failure to fold freeze...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Apr 2 08:28:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f02d6c2bfef2acb0f20c26840cc9e26355f0cdd3
      https://github.com/llvm/llvm-project/commit/f02d6c2bfef2acb0f20c26840cc9e26355f0cdd3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-02 (Sun, 02 Apr 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/freeze-vector.ll

  Log Message:
  -----------
  [X86] Add test case showing failure to fold freeze through a ISD::INSERT_VECTOR_ELT node


  Commit: 2434c8fcf92ce3de8deb9ee32519ffc13bcdc8e7
      https://github.com/llvm/llvm-project/commit/2434c8fcf92ce3de8deb9ee32519ffc13bcdc8e7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-02 (Sun, 02 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/X86/freeze-vector.ll

  Log Message:
  -----------
  [DAG] canCreateUndefOrPoison - add ISD::INSERT_VECTOR_ELT handling

If the inserted element index is guaranteed to be inbounds then a ISD::INSERT_VECTOR_ELT will not create poison/undef.


Compare: https://github.com/llvm/llvm-project/compare/d9c135cf3845...2434c8fcf92c


More information about the All-commits mailing list