File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1224,12 +1224,9 @@ static bool inlineAsmUsesAGPRs(const InlineAsm *IA) {
1224
1224
}
1225
1225
1226
1226
// TODO: Migrate to range merge of amdgpu-agpr-alloc.
1227
- // FIXME: Why is this using Attribute::NoUnwind?
1228
- struct AAAMDGPUNoAGPR
1229
- : public IRAttribute<Attribute::NoUnwind,
1230
- StateWrapper<BooleanState, AbstractAttribute>,
1231
- AAAMDGPUNoAGPR> {
1232
- AAAMDGPUNoAGPR (const IRPosition &IRP, Attributor &A) : IRAttribute(IRP) {}
1227
+ struct AAAMDGPUNoAGPR : public StateWrapper <BooleanState, AbstractAttribute> {
1228
+ using Base = StateWrapper<BooleanState, AbstractAttribute>;
1229
+ AAAMDGPUNoAGPR (const IRPosition &IRP, Attributor &A) : Base(IRP) {}
1233
1230
1234
1231
static AAAMDGPUNoAGPR &createForPosition (const IRPosition &IRP,
1235
1232
Attributor &A) {
You can’t perform that action at this time.
0 commit comments