Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions include/dxc/HLSL/DxilGenerationPass.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ void initializeCleanupDxBreakPass(llvm::PassRegistry&);
FunctionPass *createDxilLoopDeletionPass(bool NoSink);
void initializeDxilLoopDeletionPass(llvm::PassRegistry &);

ModulePass *createHLLegalizeParameter();
void initializeHLLegalizeParameterPass(llvm::PassRegistry &);

bool AreDxilResourcesDense(llvm::Module *M, hlsl::DxilResourceBase **ppNonDense);

ModulePass *createDxilNoOptLegalizePass();
Expand Down
1 change: 0 additions & 1 deletion lib/HLSL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ add_llvm_library(LLVMHLSL
DxcOptimizer.cpp
HLDeadFunctionElimination.cpp
HLExpandStoreIntrinsics.cpp
HLLegalizeParameter.cpp
HLLowerUDT.cpp
HLMatrixBitcastLowerPass.cpp
HLMatrixLowerPass.cpp
Expand Down
326 changes: 0 additions & 326 deletions lib/HLSL/HLLegalizeParameter.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions lib/Transforms/IPO/PassManagerBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,6 @@ void PassManagerBuilder::populateModulePassManager(
if (HLSLEnableDebugNops) MPM.add(createDxilInsertPreservesPass(HLSLAllowPreserveValues)); // HLSL Change - insert preserve instructions

if (Inliner) {
MPM.add(createHLLegalizeParameter()); // HLSL Change - legalize parameters
// before inline.
MPM.add(Inliner);
Inliner = nullptr;
}
Expand Down Expand Up @@ -404,7 +402,6 @@ void PassManagerBuilder::populateModulePassManager(

MPM.add(createDxilRewriteOutputArgDebugInfoPass()); // Fix output argument types.

MPM.add(createHLLegalizeParameter()); // legalize parameters before inline.
if (HLSLEarlyInlining && Inliner) {
MPM.add(Inliner);
Inliner = nullptr;
Expand Down
Loading
Loading