aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2023-04-23 16:47:52 +0000
committerThomas Schwinge <thomas@codesourcery.com>2023-06-30 09:07:45 +0200
commitf7e3123638712773e8c01e17aae9dc64d9342016 (patch)
treee5f5c08e110d4081a479a09bb4eda560debd053a /gcc
parentc0439218eb79aa0293291aed92453a59db8c6e85 (diff)
downloadgcc-f7e3123638712773e8c01e17aae9dc64d9342016.zip
gcc-f7e3123638712773e8c01e17aae9dc64d9342016.tar.gz
gcc-f7e3123638712773e8c01e17aae9dc64d9342016.tar.bz2
Flip the nvptx port to LRA
... 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>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/nvptx/nvptx.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc
index e3b0304..16ed780 100644
--- a/gcc/config/nvptx/nvptx.cc
+++ b/gcc/config/nvptx/nvptx.cc
@@ -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