diff options
author | Torok Edwin <edwintorok@gmail.com> | 2008-10-27 10:16:27 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2008-10-27 10:16:27 +0000 |
commit | ca97b42ef7b5244ece6c1d06b87e35c7f09b7351 (patch) | |
tree | a0448559ab7345622c901703b6fa21dd276b8c28 /llvm/lib/Transforms/Utils/InstructionNamer.cpp | |
parent | ef36246c6fe14cb6bcdd278896945b6289102833 (diff) | |
download | llvm-ca97b42ef7b5244ece6c1d06b87e35c7f09b7351.zip llvm-ca97b42ef7b5244ece6c1d06b87e35c7f09b7351.tar.gz llvm-ca97b42ef7b5244ece6c1d06b87e35c7f09b7351.tar.bz2 |
export an ID for the instructionNamer, allowing analysis/transformation passes
that need it to require it by ID.
llvm-svn: 58238
Diffstat (limited to 'llvm/lib/Transforms/Utils/InstructionNamer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/InstructionNamer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/InstructionNamer.cpp b/llvm/lib/Transforms/Utils/InstructionNamer.cpp index f0e77c9..aa29788 100644 --- a/llvm/lib/Transforms/Utils/InstructionNamer.cpp +++ b/llvm/lib/Transforms/Utils/InstructionNamer.cpp @@ -40,6 +40,7 @@ namespace { } +const PassInfo *const llvm::InstructionNamerID = &X; //===----------------------------------------------------------------------===// // // InstructionNamer - Give any unnamed non-void instructions "tmp" names. |