[all-commits] [llvm/llvm-project] 516331: [InstCombine] Use `ConstantInt::getBool` instead o...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sat Sep 16 02:42:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5163319ee2a048407f83de3ff9ab00613939371a
      https://github.com/llvm/llvm-project/commit/5163319ee2a048407f83de3ff9ab00613939371a
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-09-16 (Sat, 16 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

  Log Message:
  -----------
  [InstCombine] Use `ConstantInt::getBool` instead of `Constant::getIntegerValue`. NFC.

See also https://reviews.llvm.org/D156238#inline-1546774




More information about the All-commits mailing list