X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTransforms%2FUtils%2FPromoteMemoryToRegister.cpp;h=3d81a8bde05c08023cd9b08b261ef8450e958f29;hb=96c466b06ab0c830b07329c1b16037f585ccbe40;hp=e0d2c2475fcc5b322f73376a4ab9b42db56abde3;hpb=97e52e43361e77963145b95a576db11b4d14d309;p=oota-llvm.git diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index e0d2c2475fc..3d81a8bde05 100644 --- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -44,6 +44,8 @@ namespace { map > NewPhiNodes; // the PhiNodes we're adding public: + const char *getPassName() const { return "Promote Memory to Register"; } + // runOnFunction - To run this pass, first we calculate the alloca // instructions that are safe for promotion, then we promote each one. //