[all-commits] [llvm/llvm-project] a2876e: [NFC][Instructions] Refactor CmpInst::getFlippedSt...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed Dec 9 01:44:05 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2876ec74f8219e00d8e0e86e6296caa642eb811
      https://github.com/llvm/llvm-project/commit/a2876ec74f8219e00d8e0e86e6296caa642eb811
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/IR/Instructions.cpp

  Log Message:
  -----------
  [NFC][Instructions] Refactor CmpInst::getFlippedStrictnessPredicate() in terms of is{,Non}StrictPredicate()/get{Non,}StrictPredicate()

In particular, this creates getStrictPredicate() method,
to be symmetrical with already-existing getNonStrictPredicate().




More information about the All-commits mailing list