summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-07-29 20:32:59 +0000
committerTim Northover <tnorthover@apple.com>2016-07-29 20:32:59 +0000
commit6b3bd61283afdfb7ce6d645ef4ed233bc60322a1 (patch)
tree5b4e5ba39bd17afe6a083aaa5c35ee87cacbbd7f /llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
parent70c80b336b02a8e0f4d3f10a80787df111bee2b1 (diff)
downloadbcm5719-llvm-6b3bd61283afdfb7ce6d645ef4ed233bc60322a1.tar.gz
bcm5719-llvm-6b3bd61283afdfb7ce6d645ef4ed233bc60322a1.zip
CodeGen: add new "intrinsic" MachineOperand kind.
This will be used during GlobalISel, where we need a more robust and readable way to write tests than a simple immediate ID. llvm-svn: 277209
Diffstat (limited to 'llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
index 63978c99ebd..e74b1ab483b 100644
--- a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
+++ b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
@@ -657,6 +657,8 @@ static bool IsAnAddressOperand(const MachineOperand &MO) {
return true;
case MachineOperand::MO_CFIIndex:
return false;
+ case MachineOperand::MO_IntrinsicID:
+ llvm_unreachable("should not exist post-isel");
}
llvm_unreachable("unhandled machine operand type");
}
OpenPOWER on IntegriCloud