[all-commits] [llvm/llvm-project] 46a285: [IRBuilder] add/use wrapper to create a generic co...

RotateRight via All-commits all-commits at lists.llvm.org
Thu Jun 18 12:48:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 46a285ad9e34dc6ccfd2530835687cac4cd67e3e
      https://github.com/llvm/llvm-project/commit/46a285ad9e34dc6ccfd2530835687cac4cd67e3e
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp

  Log Message:
  -----------
  [IRBuilder] add/use wrapper to create a generic compare based on predicate type; NFC

The predicate can always be used to distinguish between icmp and fcmp,
so we don't need to keep repeating this check in the callers.




More information about the All-commits mailing list