[flang][cuda][NFC] Remove shared alloc addr space (#128535)
This commit is contained in:
committed by
GitHub
parent
571b787b83
commit
8dbc393e44
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user