aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorJuneyoung Lee <aqjune@gmail.com>2020-07-26 21:48:51 +0900
committerJuneyoung Lee <aqjune@gmail.com>2020-07-26 21:48:51 +0900
commit9f074214b7a3bc9d88caadbf7bd6116305977a4e (patch)
tree503a3a31d15b19e57daafbcc78af68b1db82fedd /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parent1b802fe34d716f2a3542fad3e8ba74f77685590d (diff)
downloadllvm-9f074214b7a3bc9d88caadbf7bd6116305977a4e.zip
llvm-9f074214b7a3bc9d88caadbf7bd6116305977a4e.tar.gz
llvm-9f074214b7a3bc9d88caadbf7bd6116305977a4e.tar.bz2
[ValueTracking] Instruction::isBinaryOp should be used for constexprs
This is a simple patch that makes canCreateUndefOrPoison use Instruction::isBinaryOp because BinaryOperator inherits Instruction. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D84596
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions