]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Flip the nvptx port to LRA
authorSegher Boessenkool <segher@kernel.crashing.org>
Sun, 23 Apr 2023 16:47:52 +0000 (16:47 +0000)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 30 Jun 2023 07:07:45 +0000 (09:07 +0200)
... understanding that "turn on LRA" is an exaggeration here, given that nvptx
isn't actually doing register allocation ('TARGET_NO_REGISTER_ALLOCATION').

gcc/
* config/nvptx/nvptx.cc (TARGET_LRA_P): Remove.

Co-authored-by: Thomas Schwinge <thomas@codesourcery.com>
gcc/config/nvptx/nvptx.cc

index e3b0304d5376d590c81ef8f391e23ba1dda1a310..16ed78030d7326b3eae785446ee1eaf6095828f0 100644 (file)
@@ -7633,9 +7633,6 @@ nvptx_asm_output_def_from_decls (FILE *stream, tree name, tree value)
 #undef TARGET_ATTRIBUTE_TABLE
 #define TARGET_ATTRIBUTE_TABLE nvptx_attribute_table
 
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_false
-
 #undef TARGET_LEGITIMATE_ADDRESS_P
 #define TARGET_LEGITIMATE_ADDRESS_P nvptx_legitimate_address_p