[all-commits] [llvm/llvm-project] 7e294e: [DAG] canCreateUndefOrPoison - add freeze(assertse...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Aug 15 03:19:27 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e294e676e32f81a5829f72cc7660d1155645c13
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-15 (Mon, 15 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/RISCV/rv64zbb.ll

  Log Message:
  [DAG] canCreateUndefOrPoison - add freeze(assertsext/zext(x,bt)) -> assertsext/zext(freeze(x),vt) support

These are guaranteed not to create undef/poison (although they may pass through) - the associated ISD::VALUETYPE node is also guaranteed never to generate poison

More information about the All-commits mailing list