[all-commits] [llvm/llvm-project] 959956: [DAG] SelectionDAG::MaskedElementsAreZero - assert...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jul 16 09:51:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95995673d1babee5731146f45ad3ce79c32f06d4
      https://github.com/llvm/llvm-project/commit/95995673d1babee5731146f45ad3ce79c32f06d4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-16 (Fri, 16 Jul 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [DAG] SelectionDAG::MaskedElementsAreZero - assert we're calling with a vector. NFCI.

Add an assertion that we've calling MaskedElementsAreZero with a vector op and that the DemandedElts arg is a matching width.

Makes the error a lot easier to grok when something else accidentally gets used.


  Commit: 52cd0c5a8d8db57349385f72b4ea0fa8d71d5b63
      https://github.com/llvm/llvm-project/commit/52cd0c5a8d8db57349385f72b4ea0fa8d71d5b63
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-16 (Fri, 16 Jul 2021)

  Changed paths:
    M llvm/test/CodeGen/X86/twoaddr-lea.ll

  Log Message:
  -----------
  [X86] Regenerate twoaddr-lea.ll test checks.


Compare: https://github.com/llvm/llvm-project/compare/dd57ba1a17b9...52cd0c5a8d8d


More information about the All-commits mailing list