Displaying 2 results from an estimated 2 matches for "for_exit".
2015 Aug 10
3
Possible bug in adjusting PHINode from removePredecessor?
Hi,
Simple description of the problem below. I have code coming into
pruneEH as follows
fn a {
entry:
call fn b
...
for_cond:
%i = phi [1, entry] [%x, for_body]
cmp $i with someval
cond-br for_body or for_exit
for_body:
...
$x = $i + 1
branch for_cond
for_exit
...
}
PruneEH determines that the call to fn-b won't return. The code is
modified thus.
fn a {
entry:
call fn b
unreachable insn /* Instructions after call to fn-b replaced with
unreachable insn */
for_cond: /* No path from entry block */...
2012 Jan 02
0
[LLVMdev] Transforming wide integer computations back to vector computations
..."e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-apple-darwin11.2.0"
define void @f_fu(float* nocapture %RET, float* nocapture %aFOO, float %b) nounwind {
for_exit:
%x = alloca i64, align 16
%tmpcast = bitcast i64* %x to [8 x i8]*
store i64 -1, i64* %x, align 16
%ptr_cast_for_load = bitcast float* %aFOO to <4 x i32>*
%masked_load202 = load <4 x i32>* %ptr_cast_for_load, align 4
%gather_bitcast = bitcast <4 x i32> %masked_load202...