search for: controlledrotationpiminus_1

Displaying 1 result from an estimated 1 matches for "controlledrotationpiminus_1".

2013 Jun 25
1
[LLVMdev] ldexp constant propagation
...resulting in 2 copies of this function with the values of j set to a fixed number (1 and 2). However the mathematical expression inside these copies fails to resolve to a fixed number and propagate. So for the first copy, with j=1, I get the following llvm code: LLVM code: ========= define void @ControlledRotationPiMinus_1(i32 %target, i32 %control, i32 %j) { entry.: %exp2. = call double @ldexp(double 1.000000e+00, i32 1) nounwind %mul. = fmul double %exp2., 2.000000e+00 %div. = fdiv double -3.141590e+00, %mul. call void @ControlledPhase(i32 %target, i32 %control, double %div.) ret void } I want to get a c...