[all-commits] [llvm/llvm-project] 7c5209: [LegalizeTypes] Simplify code for UndefinedBoolean...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue May 9 23:16:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c5209d01779341a3c2969eca173565df068188b
      https://github.com/llvm/llvm-project/commit/7c5209d01779341a3c2969eca173565df068188b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

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

  Log Message:
  -----------
  [LegalizeTypes] Simplify code for UndefinedBooleanContent in PromoteIntOp_VECREDUCE.

We can treat UndefinedBooleanContent the same as ZeroOrOneBooleanContent.
There's no reason to consider sign extending.




More information about the All-commits mailing list