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

Side by Side Diff: test/CodeGen/R600/vselect.ll

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 9 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 unified diff | Download patch
« no previous file with comments | « test/CodeGen/R600/sub.ll ('k') | test/CodeGen/R600/vtx-schedule.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
2
3 ; CHECK: @test_select_v4i32
4 ; CHECK: CNDE_INT T{{[0-9]+\.[XYZW], PV\.[xyzw], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW ]}}
5 ; CHECK: CNDE_INT * T{{[0-9]+\.[XYZW], PV\.[xyzw], T[0-9]+\.[XYZW], T[0-9]+\.[XY ZW]}}
6 ; CHECK: CNDE_INT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+ \.[XYZW]}}
7 ; CHECK: CNDE_INT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+ \.[XYZW]}}
8
9 define void @test_select_v4i32(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace (1)* %in0, <4 x i32> addrspace(1)* %in1) {
10 entry:
11 %0 = load <4 x i32> addrspace(1)* %in0
12 %1 = load <4 x i32> addrspace(1)* %in1
13 %cmp = icmp ne <4 x i32> %0, %1
14 %result = select <4 x i1> %cmp, <4 x i32> %0, <4 x i32> %1
15 store <4 x i32> %result, <4 x i32> addrspace(1)* %out
16 ret void
17 }
OLDNEW
« no previous file with comments | « test/CodeGen/R600/sub.ll ('k') | test/CodeGen/R600/vtx-schedule.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698