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

Unified Diff: src/compiler/verifier.cc

Issue 1693563004: Convert between tagged and untagged kSimd128 values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index 248e35bac528d4cc791a38cd44633429e287d19d..2906ff6ab35bd819bc60f84669086c9f270db1d5 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -755,6 +755,12 @@ void Verifier::Visitor::Check(Node* node) {
// CheckUpperIs(node, to));
break;
}
+#define SIMD128_CASE(TYPE, Type, type, lane_count, lane_type) \
+ case IrOpcode::kChangeTaggedTo##Type: { \
+ break; \
+ }
+ SIMD128_TYPES(SIMD128_CASE)
+#undef SIMD128_CASE
case IrOpcode::kChangeInt32ToTagged: {
// Signed32 /\ UntaggedInt32 -> Signed32 /\ Tagged
// TODO(neis): Activate once ChangeRepresentation works in typer.
@@ -782,6 +788,12 @@ void Verifier::Visitor::Check(Node* node) {
// CheckUpperIs(node, to));
break;
}
+#define SIMD128_CASE(TYPE, Type, type, lane_count, lane_type) \
+ case IrOpcode::kChange##Type##ToTagged: { \
+ break; \
+ }
+ SIMD128_TYPES(SIMD128_CASE)
+#undef SIMD128_CASE
case IrOpcode::kChangeBoolToBit: {
// Boolean /\ TaggedPtr -> Boolean /\ UntaggedInt1
// TODO(neis): Activate once ChangeRepresentation works in typer.
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698