diff options
author | Juneyoung Lee <aqjune@gmail.com> | 2020-07-26 21:48:51 +0900 |
---|---|---|
committer | Juneyoung Lee <aqjune@gmail.com> | 2020-07-26 21:48:51 +0900 |
commit | 9f074214b7a3bc9d88caadbf7bd6116305977a4e (patch) | |
tree | 503a3a31d15b19e57daafbcc78af68b1db82fedd /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 1b802fe34d716f2a3542fad3e8ba74f77685590d (diff) | |
download | llvm-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