Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/mid-to-low/ein-to-vector.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/mid-to-low/ein-to-vector.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3719, Mon Apr 4 16:53:00 2016 UTC revision 3720, Mon Apr 4 18:20:42 2016 UTC
# Line 91  Line 91 
91              AvailRHS.addAssign (avail, "negV", ty, IR.OP(Op.VNeg dim, [v]))              AvailRHS.addAssign (avail, "negV", ty, IR.OP(Op.VNeg dim, [v]))
92            end            end
93    
94    (* vector addition *)    (* vector addition for a sequence of vectors *)
95      fun addV (avail, mapp, vs) = let      fun addV (avail, mapp, vs) = let
96            val vs as (v :: _) = List.map (fn v => paramToVar (avail, mapp, v)) vs            val vs as (v :: _) = List.map (fn v => paramToVar (avail, mapp, v)) vs
97            val Ty.TensorTy[dim] = IR.Var.ty v            val Ty.TensorTy[dim] = IR.Var.ty v

Legend:
Removed from v.3719  
changed lines
  Added in v.3720

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0