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

Side by Side Diff: test/CodeGen/JS/phi.ll

Issue 1692803002: Remove Emscripten support (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-llvm.git@master
Patch Set: Created 4 years, 10 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/JS/mem-intrinsics.ll ('k') | test/CodeGen/JS/simd-fcmp.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 | FileCheck %s
2
3 ; Phi lowering should check for dependency cycles, including looking through
4 ; bitcasts, and emit extra copies as needed.
5
6 target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64 :64:64-p:32:32:32-v128:32:128-n32-S128"
7 target triple = "asmjs-unknown-emscripten"
8
9 ; CHECK: while(1) {
10 ; CHECK: $k$phi = $j;$j$phi = $k;$k = $k$phi;$j = $j$phi;
11 ; CHECK: }
12 define void @foo(float* nocapture %p, i32* %j.init, i32* %k.init) {
13 entry:
14 br label %for.body
15
16 for.body:
17 %j = phi i32* [ %j.init, %entry ], [ %k.cast, %more ]
18 %k = phi i32* [ %k.init, %entry ], [ %j.cast, %more ]
19 br label %more
20
21 more:
22 %j.cast = bitcast i32* %j to i32*
23 %k.cast = bitcast i32* %k to i32*
24 br label %for.body
25 }
OLDNEW
« no previous file with comments | « test/CodeGen/JS/mem-intrinsics.ll ('k') | test/CodeGen/JS/simd-fcmp.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698