[all-commits] [llvm/llvm-project] df698a: [InstCombine] Avoid some calls to ConstantExpr::ge...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 29 07:26:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df698a5762009f4ce77c5f8d136059c78365f270
      https://github.com/llvm/llvm-project/commit/df698a5762009f4ce77c5f8d136059c78365f270
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Avoid some calls to ConstantExpr::get() (NFCI)

Replace some calls to ConstantExpr::get() with IRBuilder APIs
(which will also constant fold if possible).




More information about the All-commits mailing list