mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
7e621f3242
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159520 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
262 B
LLVM
14 lines
262 B
LLVM
%bug_type = type { %bug_type* }
|
|
%bar = type { i32 }
|
|
|
|
define i32 @bug_a(%bug_type* %fp) nounwind uwtable {
|
|
entry:
|
|
%d_stream = getelementptr inbounds %bug_type* %fp, i64 0, i32 0
|
|
ret i32 0
|
|
}
|
|
|
|
define i32 @bug_b(%bar* %a) nounwind uwtable {
|
|
entry:
|
|
ret i32 0
|
|
}
|