diff options
| author | Schuyler Eldridge | 2019-02-05 14:03:08 -0500 |
|---|---|---|
| committer | Schuyler Eldridge | 2019-02-05 14:09:42 -0500 |
| commit | 0a88492bfbbfe7e446b74776ec59cab69e73585b (patch) | |
| tree | 3d7a3bacd8debc917cd5525d6fdecdee6a50e31c /scripts | |
| parent | a77122b4bb8756636c169473af3dc367b14698ef (diff) | |
Do Shr constant propagation in Legalize
This uses the foldShiftRight method of the ConstantPropagation
Transform when legalizing Shr PrimOps. This has the effect of removing
literals with bit extracts from the MinimumVerilogCompiler.
This makes the formerly private foldShiftRight method of a public
method of the ConstantPropagation companion object.
Tests in the MimimumVerilogCompilerSpec are updated to check that Shr
is handled as intended.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
