You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[RISCV] Remove support for attribute interrupt("user").
This was part of the N extension which didn't make it version
1.12 of the privilege specification.
Reviewed By: kito-cheng
Differential Revision: https://reviews.llvm.org/D149314
__attribute__((interrupt("user", 1))) voidfoo2(void) {} // expected-error {{'interrupt' attribute takes no more than 1 argument}}
32
+
__attribute__((interrupt("machine", 1))) voidfoo2(void) {} // expected-error {{'interrupt' attribute takes no more than 1 argument}}
36
33
37
34
__attribute__((interrupt)) intfoo3(void) {return0;} // expected-warning {{RISC-V 'interrupt' attribute only applies to functions that have a 'void' return type}}
0 commit comments