diff options
Diffstat (limited to 'llvm/utils/TableGen/IntrinsicEmitter.cpp')
| -rw-r--r-- | llvm/utils/TableGen/IntrinsicEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index 47569f3d412..e19d4d8ad3e 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp @@ -158,7 +158,7 @@ static void EmitTypeGenerate(std::ostream &OS, Record *ArgType, EmitTypeForValueType(OS, MVT::getVectorElementType(VT)); OS << ", " << MVT::getVectorNumElements(VT) << ")"; } else if (VT == MVT::iPTR) { - OS << "PointerType::get("; + OS << "PointerType::getUnqual("; EmitTypeGenerate(OS, ArgType->getValueAsDef("ElTy"), ArgNo); OS << ")"; } else if (VT == MVT::isVoid) { |

