diff options
| author | Leo Li <aoli@google.com> | 2017-07-06 18:47:05 +0000 |
|---|---|---|
| committer | Leo Li <aoli@google.com> | 2017-07-06 18:47:05 +0000 |
| commit | 5499b1b8be180a34ed530fc8048e867371af1a24 (patch) | |
| tree | f17c9f490fa368f651dca2889ea51e3c884531ea /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
| parent | ca2c87653cfd6831124d654617950d1e906cadb8 (diff) | |
| download | bcm5719-llvm-5499b1b8be180a34ed530fc8048e867371af1a24.tar.gz bcm5719-llvm-5499b1b8be180a34ed530fc8048e867371af1a24.zip | |
Modify constraints in `llvm::canReplaceOperandWithVariable`
Summary:
`Instruction::Switch`: only first operand can be set to a non-constant value.
`Instruction::InsertValue` both the first and the second operand can be set to a non-constant value.
`Instruction::Alloca` return true for non-static allocation.
Reviewers: efriedma
Reviewed By: efriedma
Subscribers: srhines, pirama, llvm-commits
Differential Revision: https://reviews.llvm.org/D34905
llvm-svn: 307294
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions

