mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14201 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -31,7 +31,7 @@ void SelectionDAG::dump() const {
|
||||
/// method works on all scalar LLVM types.
|
||||
///
|
||||
MVT::ValueType SelectionDAG::getValueType(const Type *Ty) const {
|
||||
switch (Ty->getPrimitiveID()) {
|
||||
switch (Ty->getTypeID()) {
|
||||
case Type::VoidTyID: assert(0 && "Void type object in getValueType!");
|
||||
default: assert(0 && "Unknown type in DAGBuilder!\n");
|
||||
case Type::BoolTyID: return MVT::i1;
|
||||
|
Reference in New Issue
Block a user