Skip to content

Commit 2a10e3d

Browse files
[SystemZ] Add pass initialization for CopyPhysRegs pass (#132912)
This commit adds an initialization to `SystemZTargetMachine` for the `SystemZCopyPhysRegs` pass that was thus far missing. This will enable, e.g., to run tests for that pass via `llc --run-pass=systemz-copy-physregs`.
1 parent c0a7ccb commit 2a10e3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSystemZTarget() {
4848
initializeSystemZPostRewritePass(PR);
4949
initializeSystemZTDCPassPass(PR);
5050
initializeSystemZDAGToDAGISelLegacyPass(PR);
51+
initializeSystemZCopyPhysRegsPass(PR);
5152
}
5253

5354
static std::string computeDataLayout(const Triple &TT) {

0 commit comments

Comments
 (0)