mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fixed typo in r156905.
llvm-svn: 157320
This commit is contained in:
parent
822fe63c97
commit
6f837093ba
@ -357,9 +357,9 @@ std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) {
|
|||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define GET_INTRINSTIC_GENERATOR_GLOBAL
|
#define GET_INTRINSIC_GENERATOR_GLOBAL
|
||||||
#include "llvm/Intrinsics.gen"
|
#include "llvm/Intrinsics.gen"
|
||||||
#undef GET_INTRINSTIC_GENERATOR_GLOBAL
|
#undef GET_INTRINSIC_GENERATOR_GLOBAL
|
||||||
|
|
||||||
static Type *DecodeFixedType(unsigned &NextElt, ArrayRef<unsigned char> Infos,
|
static Type *DecodeFixedType(unsigned &NextElt, ArrayRef<unsigned char> Infos,
|
||||||
ArrayRef<Type*> Tys, LLVMContext &Context) {
|
ArrayRef<Type*> Tys, LLVMContext &Context) {
|
||||||
|
@ -470,7 +470,7 @@ void printIITEntry(raw_ostream &OS, unsigned char X) {
|
|||||||
void IntrinsicEmitter::EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints,
|
void IntrinsicEmitter::EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints,
|
||||||
raw_ostream &OS) {
|
raw_ostream &OS) {
|
||||||
OS << "// Global intrinsic function declaration type table.\n";
|
OS << "// Global intrinsic function declaration type table.\n";
|
||||||
OS << "#ifdef GET_INTRINSTIC_GENERATOR_GLOBAL\n";
|
OS << "#ifdef GET_INTRINSIC_GENERATOR_GLOBAL\n";
|
||||||
// NOTE: These enums must be kept in sync with the ones above!
|
// NOTE: These enums must be kept in sync with the ones above!
|
||||||
OS << "enum IIT_Info {\n";
|
OS << "enum IIT_Info {\n";
|
||||||
OS << " IIT_Done = 0,\n";
|
OS << " IIT_Done = 0,\n";
|
||||||
@ -575,7 +575,7 @@ void IntrinsicEmitter::EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints,
|
|||||||
LongEncodingTable.emit(OS, printIITEntry);
|
LongEncodingTable.emit(OS, printIITEntry);
|
||||||
OS << " 255\n};\n\n";
|
OS << " 255\n};\n\n";
|
||||||
|
|
||||||
OS << "#endif\n\n"; // End of GET_INTRINSTIC_GENERATOR_GLOBAL
|
OS << "#endif\n\n"; // End of GET_INTRINSIC_GENERATOR_GLOBAL
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user