diff options
Diffstat (limited to 'tests/20optimizer_optimizations/ififconst')
-rw-r--r-- | tests/20optimizer_optimizations/ififconst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/20optimizer_optimizations/ififconst b/tests/20optimizer_optimizations/ififconst new file mode 100644 index 0000000..4187213 --- /dev/null +++ b/tests/20optimizer_optimizations/ififconst @@ -0,0 +1,5 @@ +T=d ld f mf cd cf cld +V=w,x,y,z +R=0,1,1 +F=if(if(x,1,y),z,w) + if(if(w,z,0),x,y) +C=(fp_truth(fp_truth(x)!=0 ? 1 : y)!=0 ? z : w) + (fp_truth(fp_truth(w)!=0 ? z : 0)!=0 ? x : y) |