Skip to content

Commit

Permalink
debugging empty loop elimination that adversely impacts wave ops
Browse files Browse the repository at this point in the history
  • Loading branch information
pow2clk committed Dec 24, 2023
1 parent a743e97 commit f0cec2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/Transforms/Scalar/DxilEraseDeadRegion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ struct DxilEraseDeadRegion : public FunctionPass {
assert(Region.count(
BB)); // Region must be a complete region that contains the block.

//return false;
auto FindIt = m_SafeBlocks.find(BB);
if (FindIt != m_SafeBlocks.end()) {
return FindIt->second;
Expand Down
2 changes: 1 addition & 1 deletion utils/hct/gen_intrin_main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ void [[]] SetMeshOutputCounts(in uint numVertices, in uint numPrimitives);
void [[]] DispatchMesh(in uint threadGroupCountX, in uint threadGroupCountY, in uint threadGroupCountZ, in udt meshPayload);

// Return true if the current lane is a helper lane
bool [[ro]] IsHelperLane();
bool [[ro,wv]] IsHelperLane();

// HL Op for allocating ray query object that default constructor uses
uint [[hidden]] AllocateRayQuery(in uint flags);
Expand Down

0 comments on commit f0cec2f

Please sign in to comment.