Mercurial > hg > truffle
comparison src/share/vm/opto/vectornode.cpp @ 6617:4b0d6fd74911
7192964: assert(false) failed: bad AD file
Summary: Shifts with loop variant counts "a[i]=1<<b[i];" should not be vectorized since hw does not support it.
Reviewed-by: twisti
author | kvn |
---|---|
date | Tue, 21 Aug 2012 14:50:02 -0700 |
parents | 006050192a5a |
children | 5af51c882207 |
comparison
equal
deleted
inserted
replaced
6616:7a302948f5a4 | 6617:4b0d6fd74911 |
---|---|
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: |