diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-03-14 21:32:08 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-03-14 21:32:08 +0000 |
commit | 8a4bae99937c003eb9c7a3be1f16c54cab1c0c80 (patch) | |
tree | ed98a7ce243a33e0198d7c7d48cbe3586b529cb9 /llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | |
parent | a43a2993821ea229128b579e48e6cc2865c98a45 (diff) | |
download | bcm5719-llvm-8a4bae99937c003eb9c7a3be1f16c54cab1c0c80.tar.gz bcm5719-llvm-8a4bae99937c003eb9c7a3be1f16c54cab1c0c80.zip |
[globalisel][tblgen] Add support for ComplexPatterns
Summary:
Adds a new kind of MachineOperand: MO_Placeholder.
This operand must not appear in the MIR and only exists as a way of
creating an 'uninitialized' operand until a matcher function overwrites it.
Depends on D30046, D29712
Reviewers: t.p.northover, ab, rovka, aditya_nandakumar, javed.absar, qcolombet
Reviewed By: qcolombet
Subscribers: dberris, kristof.beyls, llvm-commits
Differential Revision: https://reviews.llvm.org/D30089
llvm-svn: 297782
Diffstat (limited to 'llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp index 78a9144bd32..e0aecff2633 100644 --- a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp +++ b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp @@ -661,6 +661,7 @@ static bool IsAnAddressOperand(const MachineOperand &MO) { return false; case MachineOperand::MO_IntrinsicID: case MachineOperand::MO_Predicate: + case MachineOperand::MO_Placeholder: llvm_unreachable("should not exist post-isel"); } llvm_unreachable("unhandled machine operand type"); |