Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
GHC
Commits
82c47219
Commit
82c47219
authored
17 years ago
by
rl@cse.unsw.edu.au
Browse files
Options
Downloads
Patches
Plain Diff
Teach vectorisation about Bool
parent
7c737416
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/vectorise/VectBuiltIn.hs
+5
-2
5 additions, 2 deletions
compiler/vectorise/VectBuiltIn.hs
with
5 additions
and
2 deletions
compiler/vectorise/VectBuiltIn.hs
+
5
−
2
View file @
82c47219
...
...
@@ -30,7 +30,9 @@ import OccName
import
TypeRep
(
funTyCon
)
import
Type
(
Type
)
import
TysPrim
import
TysWiredIn
(
unitTyCon
,
tupleTyCon
,
intTyCon
,
intTyConName
)
import
TysWiredIn
(
unitTyCon
,
tupleTyCon
,
intTyCon
,
intTyConName
,
boolTyCon
,
boolTyConName
)
import
Module
import
BasicTypes
(
Boxity
(
..
)
)
...
...
@@ -184,7 +186,7 @@ initBuiltinTyCons bi = (tyConName funTyCon, closureTyCon bi)
:
[(
tyConName
tc
,
tc
)
|
tc
<-
defaultTyCons
]
defaultTyCons
::
[
TyCon
]
defaultTyCons
=
[
intTyCon
]
defaultTyCons
=
[
intTyCon
,
boolTyCon
]
initBuiltinDicts
::
[(
Name
,
Module
,
FastString
)]
->
DsM
[(
Name
,
Var
)]
initBuiltinDicts
ps
...
...
@@ -204,6 +206,7 @@ builtinPAs bi
,
mk
unitTyConName
nDP_INSTANCES
FSLIT
(
"dPA_Unit"
)
,
mk
intTyConName
nDP_INSTANCES
FSLIT
(
"dPA_Int"
)
,
mk
boolTyConName
nDP_INSTANCES
FSLIT
(
"dPA_Bool"
)
]
++
tups
where
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment