mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 22:28:22 +00:00
793a2b15e7
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
13 lines
298 B
LLVM
13 lines
298 B
LLVM
; RUN: llc < %s
|
|
; REQUIRES: default_triple
|
|
|
|
; Legalization test that requires scalarizing a vector.
|
|
|
|
define void @update(<1 x i32> %val, <1 x i32>* %dst) nounwind {
|
|
entry:
|
|
%shl = shl <1 x i32> %val, < i32 2>
|
|
%shr = ashr <1 x i32> %val, < i32 4>
|
|
store <1 x i32> %shr, <1 x i32>* %dst
|
|
ret void
|
|
}
|