aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2025-05-23 08:30:29 -0700
committerGitHub <noreply@github.com>2025-05-23 08:30:29 -0700
commit52c2e45c11ee37d8efcf87cbfa5c9f23cbdd566b (patch)
tree9fb4a446894837cc4d8d8d88594b1f2324faa829 /llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
parent204eb70af894770fb4b9107fbcf3003cb3f9cb72 (diff)
downloadllvm-52c2e45c11ee37d8efcf87cbfa5c9f23cbdd566b.zip
llvm-52c2e45c11ee37d8efcf87cbfa5c9f23cbdd566b.tar.gz
llvm-52c2e45c11ee37d8efcf87cbfa5c9f23cbdd566b.tar.bz2
[NFC][CodeGen] Adopt MachineFunctionProperties convenience accessors (#141101)
Diffstat (limited to 'llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp')
-rw-r--r--llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
index a4f95ea..2fdd54f 100644
--- a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
@@ -2052,7 +2052,7 @@ static void patchPhis(const Module &M, SPIRVGlobalRegistry *GR,
}
}
- MF->getProperties().set(MachineFunctionProperties::Property::NoPHIs);
+ MF->getProperties().setNoPHIs();
}
}