[all-commits] [llvm/llvm-project] 5e81d6: [PPCBoolRetToInt] Avoid use of ConstantExpr::getZE...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 28 07:02:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e81d6742a8c9b075168c5c6f871e5bf7876be51
      https://github.com/llvm/llvm-project/commit/5e81d6742a8c9b075168c5c6f871e5bf7876be51
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp

  Log Message:
  -----------
  [PPCBoolRetToInt] Avoid use of ConstantExpr::getZExt() (NFC)

Use IRBuilder instead, which will either insert an instruction
or constant fold.




More information about the All-commits mailing list