[all-commits] [llvm/llvm-project] 425cbb: [Operator] Add hasPoisonGeneratingFlags [mostly NFC]
Philip Reames via All-commits
all-commits at lists.llvm.org
Wed Oct 27 11:28:43 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 425cbbc602c970e20785e005a7c9d5716a5fac68
https://github.com/llvm/llvm-project/commit/425cbbc602c970e20785e005a7c9d5716a5fac68
Author: Philip Reames <listmail at philipreames.com>
Date: 2021-10-27 (Wed, 27 Oct 2021)
Changed paths:
M llvm/include/llvm/IR/Operator.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Operator.cpp
Log Message:
-----------
[Operator] Add hasPoisonGeneratingFlags [mostly NFC]
This method parallels the dropPoisonGeneratingFlags on Instruction, but is hoisted to operator to handle constant expressions as well.
This is mostly code movement, but I did go ahead and add the inrange constexpr gep case. This had been discussed previously, but apparently never followed up o.
More information about the All-commits
mailing list