OSDN Git Service

Refactor Record* by-ID comparator to Record.h
authorSean Silva <silvas@purdue.edu>
Wed, 19 Sep 2012 01:47:00 +0000 (01:47 +0000)
committerSean Silva <silvas@purdue.edu>
Wed, 19 Sep 2012 01:47:00 +0000 (01:47 +0000)
commit90fee07298bec2e5160a599db850b9553d02377b
treefe79cf6b5aa89ed8aa97790491abdb8c283f5db6
parent2811ae66a857691b47fbcf98a12521380c05aad0
Refactor Record* by-ID comparator to Record.h

This is a generally useful utility; there's no reason to have it hidden
in CodeGenDAGPatterns.cpp.

Also, rename it to fit the other comparators in Record.h

Review by Jakob.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164189 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/TableGen/Record.h
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenDAGPatterns.h