We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fdb908 commit 5529880Copy full SHA for 5529880
llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
@@ -269,6 +269,12 @@ class SPIRVInstructionSelect : public InstructionSelect {
269
return InstructionSelect::getRequiredProperties().reset(
270
MachineFunctionProperties::Property::RegBankSelected);
271
}
272
+
273
+ MachineFunctionProperties getClearedProperties() const override {
274
+ // No generic Phis remain, replaced with OpPhi
275
+ return InstructionSelect::getClearedProperties().reset(
276
+ MachineFunctionProperties::Property::NoPHIs);
277
+ }
278
};
279
} // namespace
280
0 commit comments