[flang][cuda][NFC] Remove shared alloc addr space (#128535)

This commit is contained in:
Valentin Clement (バレンタイン クレメン)
2025-02-24 10:05:32 -08:00
committed by GitHub
parent 571b787b83
commit 8dbc393e44
2 changed files with 0 additions and 7 deletions

View File

@@ -293,12 +293,6 @@ struct AllocaOpConversion : public fir::FIROpConversion<fir::AllocaOp> {
rewriter.setInsertionPointAfter(size.getDefiningOp());
}
if (auto dataAttr = alloc->getAttrOfType<cuf::DataAttributeAttr>(
cuf::getDataAttrName())) {
if (dataAttr.getValue() == cuf::DataAttribute::Shared)
allocaAs = 3;
}
// NOTE: we used to pass alloc->getAttrs() in the builder for non opaque
// pointers! Only propagate pinned and bindc_name to help debugging, but
// this should have no functional purpose (and passing the operand segment