commit f6349f4b6e46d5e8cd8ab41953c9e89f8684f5bc
parent 5b93eb644a10ec98d3155a05a1a5509b3167700c
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Mon, 24 Aug 2015 17:53:30 -0400
get rid of OTrunc
Diffstat:
3 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/lisc/isel.c b/lisc/isel.c
@@ -159,9 +159,6 @@ sel(Ins i, Fn *fn)
case OZext:
n = 0;
goto Emit;
- case OTrunc:
- n = 1;
- goto Emit;
case OAdd:
case OSub:
case OMul:
@@ -262,7 +259,6 @@ flagi(Ins *i0, Ins *i)
case OCopy: /* flag-transparent */
case OSext:
case OZext:
- case OTrunc:
case OStorel:
case OStorew:
case OStoreb:
diff --git a/lisc/lisc.h b/lisc/lisc.h
@@ -113,7 +113,6 @@ enum Op {
OAnd,
OSext,
OZext,
- OTrunc,
OCmp,
OCmp1 = OCmp + NCmp-1,
OStorel,
diff --git a/lisc/parse.c b/lisc/parse.c
@@ -20,7 +20,6 @@ OpDesc opdesc[NOp] = {
[OAnd] = { "and", 2, 2 },
[OSext] = { "sext", 1, 1 },
[OZext] = { "zext", 1, 1 },
- [OTrunc] = { "trunc", 1, 1 },
[OStorel] = { "storel", 2, 0 },
[OStorew] = { "storew", 2, 0 },
[OStores] = { "stores", 2, 0 },