public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/riscv/heads/ext-dce)] Remove hack that should no longer be needed.
@ 2023-11-15 19:04 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-11-15 19:04 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4dd02a734d373d6ea558b0fa223a1ca769a9e8dd

commit 4dd02a734d373d6ea558b0fa223a1ca769a9e8dd
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Wed Nov 15 12:03:48 2023 -0700

    Remove hack that should no longer be needed.

Diff:
---
 gcc/ext-dce.cc | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/gcc/ext-dce.cc b/gcc/ext-dce.cc
index 9cf0a3c2ae3..64f6885d484 100644
--- a/gcc/ext-dce.cc
+++ b/gcc/ext-dce.cc
@@ -395,18 +395,6 @@ ext_dce_process_uses (rtx_insn *insn, bitmap livenow, bitmap live_tmp,
 		  unsigned HOST_WIDE_INT src_mask
 		    = GET_MODE_MASK (GET_MODE (inner));
 
-#if 0
-		  /* ?!? This seems like it shouldn't be necessary.  */
-		  /* Pretend there is one additional higher bit set in
-		     MASK2 to account for the sign bit propagation from the
-		     input value into the output value.  */
-		  if (code == SIGN_EXTEND)
-		    {
-		      src_mask <<= 1;
-		      src_mask |= 1;
-		    }
-#endif
-
 		  /* (subreg (mem)) is technically valid RTL, but is
 		     severely discouraged.  So give up if we're about to
 		     create one.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-15 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 19:04 [gcc(refs/vendors/riscv/heads/ext-dce)] Remove hack that should no longer be needed Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).