equal
deleted
inserted
replaced
178 return true; |
178 return true; |
179 } |
179 } |
180 return false; |
180 return false; |
181 } |
181 } |
182 |
182 |
183 // Check if input is loop invarient vector. |
183 // Check if input is loop invariant vector. |
184 bool VectorNode::is_invariant_vector(Node* n) { |
184 bool VectorNode::is_invariant_vector(Node* n) { |
185 // Only Replicate vector nodes are loop invarient for now. |
185 // Only Replicate vector nodes are loop invariant for now. |
186 switch (n->Opcode()) { |
186 switch (n->Opcode()) { |
187 case Op_ReplicateB: |
187 case Op_ReplicateB: |
188 case Op_ReplicateS: |
188 case Op_ReplicateS: |
189 case Op_ReplicateI: |
189 case Op_ReplicateI: |
190 case Op_ReplicateL: |
190 case Op_ReplicateL: |