Skip to content

Commit

Permalink
Include missing import and add phase in the low tier
Browse files Browse the repository at this point in the history
  • Loading branch information
mairooni committed Jun 26, 2024
1 parent 6e381c2 commit dd45e60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@
import uk.ac.manchester.tornado.drivers.common.compiler.phases.utils.DumpLowTierGraph;
import uk.ac.manchester.tornado.drivers.opencl.graal.phases.OCLFPGAPragmaPhase;
import uk.ac.manchester.tornado.drivers.opencl.graal.phases.OCLFPGAThreadScheduler;
import uk.ac.manchester.tornado.drivers.spirv.graal.phases.InverseSquareRootPhase;
import uk.ac.manchester.tornado.drivers.spirv.graal.phases.SPIRVFMAPhase;
import uk.ac.manchester.tornado.drivers.spirv.graal.phases.SPIRVFP64SupportPhase;
import uk.ac.manchester.tornado.drivers.spirv.graal.phases.TornadoHalfFloatVectorOffset;
import uk.ac.manchester.tornado.drivers.spirv.graal.phases.*;
import uk.ac.manchester.tornado.runtime.common.TornadoOptions;
import uk.ac.manchester.tornado.runtime.graal.compiler.TornadoLowTier;

Expand All @@ -69,6 +66,8 @@ public SPIRVLowTier(OptionValues options, TornadoDeviceContext deviceContext, Ad

appendPhase(new UseTrappingNullChecksPhase());

appendPhase(new TornadoFixedArrayCopyPhase());

appendPhase(new AddressLoweringByNodePhase(addressLowering));

appendPhase(new DeadCodeEliminationPhase(Required));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.graalvm.compiler.nodes.memory.address.OffsetAddressNode;
import org.graalvm.compiler.phases.BasePhase;

import uk.ac.manchester.tornado.api.exceptions.TornadoCompilationException;
import uk.ac.manchester.tornado.runtime.graal.phases.TornadoLowTierContext;
import uk.ac.manchester.tornado.drivers.spirv.graal.nodes.FixedArrayNode;

Expand Down

0 comments on commit dd45e60

Please sign in to comment.