mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-08 21:47:23 +00:00
![Mehdi Amini](/assets/img/avatar_default.png)
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> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247775 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
1019 B
LLVM
26 lines
1019 B
LLVM
; RUN: llc < %s -march=ppc64
|
|
; RUN: llc < %s -march=ppc32
|
|
; RUN: llc < %s
|
|
; REQUIRES: default_triple
|
|
|
|
define void @bitap() {
|
|
entry:
|
|
%RMask.i = alloca [256 x i32], align 16 ; <[256 x i32]*> [#uses=1]
|
|
%buffer = alloca [147456 x i8], align 16 ; <[147456 x i8]*> [#uses=0]
|
|
br i1 false, label %bb19, label %bb.preheader
|
|
bb.preheader: ; preds = %entry
|
|
ret void
|
|
bb19: ; preds = %entry
|
|
br i1 false, label %bb12.i, label %cond_next39
|
|
bb12.i: ; preds = %bb12.i, %bb19
|
|
%i.0.i = phi i32 [ %tmp11.i, %bb12.i ], [ 0, %bb19 ] ; <i32> [#uses=2]
|
|
%gep.upgrd.1 = zext i32 %i.0.i to i64 ; <i64> [#uses=1]
|
|
%tmp9.i = getelementptr [256 x i32], [256 x i32]* %RMask.i, i32 0, i64 %gep.upgrd.1 ; <i32*> [#uses=1]
|
|
store i32 0, i32* %tmp9.i
|
|
%tmp11.i = add i32 %i.0.i, 1 ; <i32> [#uses=1]
|
|
br label %bb12.i
|
|
cond_next39: ; preds = %bb19
|
|
ret void
|
|
}
|
|
|