This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
b0e99ef8f0
llvm-project
/
llvm
/
test
/
Other
/
2010-05-06-Printer.ll
7 lines
87 B
LLVM
Raw
Normal View
History
Unescape
Escape
Don't write a file named "&1". llvm-svn: 106269
2010-06-18 09:49:17 +08:00
; RUN: llc -O2 -print-after-all < %s 2>/dev/null
Fix PR6875: This includes a patch by Roman Divacky to fix the initial crash. Move the actual addition of passes from *PassManager::add to *PassManager::addImpl. That way, when adding printer passes we won't recurse infinitely. Finally, check to make sure that we are actually adding a FunctionPass to a FunctionPassManager before doing a print before or after it. Immutable passes are strange in this way because they aren't FunctionPasses yet they can be and are added to the FunctionPassManager. llvm-svn: 103425
2010-05-11 04:24:27 +08:00
define
void
@tester
(
)
{
ret
void
}