mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
fe32b980b3
When building LLVM as a (potentially dynamic) library that can be linked against by multiple compilers, the default triple is not really meaningful. We allow to explicitely set it to an empty string when configuring LLVM. In this case, said "target independent" tests in the test suite that are using the default triple are disabled by matching the newly available feature "default_triple". Reviewers: probinson, echristo Differential Revision: http://reviews.llvm.org/D12660 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 247775
14 lines
177 B
LLVM
14 lines
177 B
LLVM
; RUN: llvm-as %s -disable-output
|
|
|
|
define i32 @foo() {
|
|
E:
|
|
br label %B2
|
|
B1:
|
|
br label %B2
|
|
B2:
|
|
%0 = phi i32 [ 0, %E ], [ 1, %B1 ], !dbg !0
|
|
ret i32 %0
|
|
}
|
|
|
|
!0 = !{i32 42}
|