Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(655)

Unified Diff: test/Transforms/InstCombine/neon-intrinsics.ll

Issue 7792066: [llvm] Conditionally include target intrinsics, based on --enable-target Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: cleanups Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/Transforms/InstCombine/X86/vec_demanded_elts.ll ('k') | test/Transforms/InstCombine/pr2645-1.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/InstCombine/neon-intrinsics.ll
===================================================================
--- test/Transforms/InstCombine/neon-intrinsics.ll (revision 138929)
+++ test/Transforms/InstCombine/neon-intrinsics.ll (working copy)
@@ -1,25 +0,0 @@
-; RUN: opt < %s -instcombine -S | FileCheck %s
-
-; The alignment arguments for NEON load/store intrinsics can be increased
-; by instcombine. Check for this.
-
-; CHECK: vld4.v2i32({{.*}}, i32 32)
-; CHECK: vst4.v2i32({{.*}}, i32 16)
-
-@x = common global [8 x i32] zeroinitializer, align 32
-@y = common global [8 x i32] zeroinitializer, align 16
-
-%struct.__neon_int32x2x4_t = type { <2 x i32>, <2 x i32>, <2 x i32>, <2 x i32> }
-
-define void @test() nounwind ssp {
- %tmp1 = call %struct.__neon_int32x2x4_t @llvm.arm.neon.vld4.v2i32(i8* bitcast ([8 x i32]* @x to i8*), i32 1)
- %tmp2 = extractvalue %struct.__neon_int32x2x4_t %tmp1, 0
- %tmp3 = extractvalue %struct.__neon_int32x2x4_t %tmp1, 1
- %tmp4 = extractvalue %struct.__neon_int32x2x4_t %tmp1, 2
- %tmp5 = extractvalue %struct.__neon_int32x2x4_t %tmp1, 3
- call void @llvm.arm.neon.vst4.v2i32(i8* bitcast ([8 x i32]* @y to i8*), <2 x i32> %tmp2, <2 x i32> %tmp3, <2 x i32> %tmp4, <2 x i32> %tmp5, i32 1)
- ret void
-}
-
-declare %struct.__neon_int32x2x4_t @llvm.arm.neon.vld4.v2i32(i8*, i32) nounwind readonly
-declare void @llvm.arm.neon.vst4.v2i32(i8*, <2 x i32>, <2 x i32>, <2 x i32>, <2 x i32>, i32) nounwind
« no previous file with comments | « test/Transforms/InstCombine/X86/vec_demanded_elts.ll ('k') | test/Transforms/InstCombine/pr2645-1.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698