diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-09-16 17:18:16 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-09-16 17:18:16 +0000 |
| commit | 55b06538b5896963399832b4aebc88d071c540af (patch) | |
| tree | f690837d1e4d3261dc698ad250865bad728d4ec4 | |
| parent | a8f6520c13846239d34bbf78a6bf78535af5c36e (diff) | |
| download | bcm5719-llvm-55b06538b5896963399832b4aebc88d071c540af.tar.gz bcm5719-llvm-55b06538b5896963399832b4aebc88d071c540af.zip | |
Fix test after renaming -name-anon-functions pass to -name-anon-globals
llvm-svn: 281752
| -rw-r--r-- | llvm/lib/Passes/PassRegistry.def | 2 | ||||
| -rw-r--r-- | llvm/test/Bitcode/thinlto-function-summary.ll | 8 | ||||
| -rw-r--r-- | llvm/test/Transforms/NameAnonGlobals/rename.ll (renamed from llvm/test/Transforms/NameAnonFunctions/rename.ll) | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Passes/PassRegistry.def b/llvm/lib/Passes/PassRegistry.def index e229c34b93f..20acf3bc4a5 100644 --- a/llvm/lib/Passes/PassRegistry.def +++ b/llvm/lib/Passes/PassRegistry.def @@ -54,7 +54,7 @@ MODULE_PASS("internalize", InternalizePass()) MODULE_PASS("invalidate<all>", InvalidateAllAnalysesPass()) MODULE_PASS("ipsccp", IPSCCPPass()) MODULE_PASS("lowertypetests", LowerTypeTestsPass()) -MODULE_PASS("name-global-functions", NameAnonGlobalPass()) +MODULE_PASS("name-anon-globals", NameAnonGlobalPass()) MODULE_PASS("no-op-module", NoOpModulePass()) MODULE_PASS("partial-inliner", PartialInlinerPass()) MODULE_PASS("pgo-icall-prom", PGOIndirectCallPromotion()) diff --git a/llvm/test/Bitcode/thinlto-function-summary.ll b/llvm/test/Bitcode/thinlto-function-summary.ll index 636b96cb6e9..e42c55c1c2e 100644 --- a/llvm/test/Bitcode/thinlto-function-summary.ll +++ b/llvm/test/Bitcode/thinlto-function-summary.ll @@ -1,5 +1,5 @@ -; RUN: opt -name-anon-functions -module-summary < %s | llvm-bcanalyzer -dump | FileCheck %s -check-prefix=BC -; RUN: opt -passes=name-anon-functions -module-summary < %s | llvm-bcanalyzer -dump | FileCheck %s -check-prefix=BC +; RUN: opt -name-anon-globals -module-summary < %s | llvm-bcanalyzer -dump | FileCheck %s -check-prefix=BC +; RUN: opt -passes=name-anon-globals -module-summary < %s | llvm-bcanalyzer -dump | FileCheck %s -check-prefix=BC ; Check for summary block/records. ; Check the value ids in the summary entries against the @@ -22,7 +22,7 @@ ; BC-NEXT: <FNENTRY {{.*}} op0=3 {{.*}}> record string = 'anon. -; RUN: opt -name-anon-functions -module-summary < %s | llvm-dis | FileCheck %s +; RUN: opt -name-anon-globals -module-summary < %s | llvm-dis | FileCheck %s ; Check that this round-trips correctly. ; ModuleID = '<stdin>' @@ -46,7 +46,7 @@ entry: } ; FIXME: Anonymous function and alias not currently in summary until -; follow on fixes to rename anonymous functions and emit alias summary +; follow on fixes to rename anonymous globals and emit alias summary ; entries are committed. ; Check an anonymous function as well, since in that case only the alias ; ends up in the value symbol table and having a summary. diff --git a/llvm/test/Transforms/NameAnonFunctions/rename.ll b/llvm/test/Transforms/NameAnonGlobals/rename.ll index de576cb95c5..996dc51800f 100644 --- a/llvm/test/Transforms/NameAnonFunctions/rename.ll +++ b/llvm/test/Transforms/NameAnonGlobals/rename.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -name-anon-functions < %s | FileCheck %s +; RUN: opt -S -name-anon-globals < %s | FileCheck %s ; foo contribute to the unique hash for the module |

