Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: src/compiler/machine-graph-verifier.cc

Issue 2919203002: [WASM] Eliminate SIMD boolean vector types. (Closed)
Patch Set: Restore DCHECKs in AssembleMove/Swap now that we're back to 1 SIMD representation. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/load-elimination.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/machine-graph-verifier.h" 5 #include "src/compiler/machine-graph-verifier.h"
6 6
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 switch (expected) { 787 switch (expected) {
788 case MachineRepresentation::kTagged: 788 case MachineRepresentation::kTagged:
789 return (actual == MachineRepresentation::kTagged || 789 return (actual == MachineRepresentation::kTagged ||
790 actual == MachineRepresentation::kTaggedSigned || 790 actual == MachineRepresentation::kTaggedSigned ||
791 actual == MachineRepresentation::kTaggedPointer); 791 actual == MachineRepresentation::kTaggedPointer);
792 case MachineRepresentation::kTaggedSigned: 792 case MachineRepresentation::kTaggedSigned:
793 case MachineRepresentation::kTaggedPointer: 793 case MachineRepresentation::kTaggedPointer:
794 case MachineRepresentation::kFloat32: 794 case MachineRepresentation::kFloat32:
795 case MachineRepresentation::kFloat64: 795 case MachineRepresentation::kFloat64:
796 case MachineRepresentation::kSimd128: 796 case MachineRepresentation::kSimd128:
797 case MachineRepresentation::kSimd1x4:
798 case MachineRepresentation::kSimd1x8:
799 case MachineRepresentation::kSimd1x16:
800 case MachineRepresentation::kBit: 797 case MachineRepresentation::kBit:
801 case MachineRepresentation::kWord8: 798 case MachineRepresentation::kWord8:
802 case MachineRepresentation::kWord16: 799 case MachineRepresentation::kWord16:
803 case MachineRepresentation::kWord64: 800 case MachineRepresentation::kWord64:
804 return expected == actual; 801 return expected == actual;
805 break; 802 break;
806 case MachineRepresentation::kWord32: 803 case MachineRepresentation::kWord32:
807 return (actual == MachineRepresentation::kBit || 804 return (actual == MachineRepresentation::kBit ||
808 actual == MachineRepresentation::kWord8 || 805 actual == MachineRepresentation::kWord8 ||
809 actual == MachineRepresentation::kWord16 || 806 actual == MachineRepresentation::kWord16 ||
(...skipping 27 matching lines...) Expand all
837 MachineRepresentationInferrer representation_inferrer(schedule, graph, 834 MachineRepresentationInferrer representation_inferrer(schedule, graph,
838 linkage, temp_zone); 835 linkage, temp_zone);
839 MachineRepresentationChecker checker(schedule, &representation_inferrer, 836 MachineRepresentationChecker checker(schedule, &representation_inferrer,
840 is_stub, name); 837 is_stub, name);
841 checker.Run(); 838 checker.Run();
842 } 839 }
843 840
844 } // namespace compiler 841 } // namespace compiler
845 } // namespace internal 842 } // namespace internal
846 } // namespace v8 843 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/load-elimination.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698