mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
11714e13d3
just provide and reference separate input files from an Inputs subdirectory. This pattern works very well in the Clang tree and is easier to understand in my opinion. It also has fewer limitations and will remove one particularly annoying use of TCL-style {} quoting from the testsuite. Also teach the LLVM lit configuration to avoid recursing into 'Inputs' subdirectories. This wasn't required for the previous 'Inputs' subdirectories used due to fortuitous suffix patterns. This is the first step to completely removing support for TCL-style tests. llvm-svn: 159520
11 lines
113 B
LLVM
11 lines
113 B
LLVM
@X = external global i32
|
|
|
|
declare i32 @foo()
|
|
|
|
define void @bar() {
|
|
load i32* @X
|
|
call i32 @foo()
|
|
ret void
|
|
}
|
|
|