[all-commits] [llvm/llvm-project] 44d8f8: [ConstraintElim] Use ConstantInt::getTrue to creat...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Nov 3 05:20:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44d8f80b267de972bdb5a68d5060addc423e637c
      https://github.com/llvm/llvm-project/commit/44d8f80b267de972bdb5a68d5060addc423e637c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

  Log Message:
  -----------
  [ConstraintElim] Use ConstantInt::getTrue to create constants (NFC).

Use existing ConstantInt::getTrue/getFalse functionality instead of
custom getScalarConstOrSplat as suggested by @nikic.




More information about the All-commits mailing list