llvm-6502/utils
Scott Michel 6be48d49cf Fix to bug 1951: tblgen gratuitously renames variables when no temporary was
generated. This feature would only show up in fairly complex patterns, such
as this one in CellSPU:

  def : Pat<(add (SPUhi tconstpool:$in, 0), (SPUlo tconstpool:$in, 0)),
	    (IOHLlo (ILHUhi tconstpool:$in), tconstpool:$in)>;

which generated the following emit code:

SDNode *Emit_0(const SDOperand &N, unsigned Opc0, unsigned Opc1, MVT::ValueType VT0, MVT::ValueType VT1) DISABLE_INLINE {
  SDOperand N0 = N.getOperand(0);
  SDOperand N00 = N0.getOperand(0);
  SDOperand N01 = N0.getOperand(1);
  SDOperand N1 = N.getOperand(1);
  SDOperand N10 = N1.getOperand(0);
  SDOperand N11 = N1.getOperand(1);
  SDOperand Tmp3(CurDAG->getTargetNode(Opc0, VT0, N00), 0);
  return CurDAG->SelectNodeTo(N.Val, Opc1, VT1, Tmp3, Tmp2); /* Tmp2 s/b N00 */
}

Tested against the test suites without incident.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46487 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-29 02:29:31 +00:00
..
buildit Fix makefiles to enable Apply style debug build. 2008-01-18 21:01:00 +00:00
emacs Modified to support comments better. 2007-12-19 06:20:05 +00:00
fpcmp remove attributions from utils. 2007-12-29 20:37:13 +00:00
PerfectShuffle remove attributions from utils. 2007-12-29 20:37:13 +00:00
TableGen Fix to bug 1951: tblgen gratuitously renames variables when no temporary was 2008-01-29 02:29:31 +00:00
vim
cgiplotNLT.pl
check-each-file
codegen-diff
countloc.sh remove attributions from utils. 2007-12-29 20:37:13 +00:00
DSAclean.py
DSAextract.py
findmisopt Make use of the llvm-ld tool's new ability to read input from stdin to extract 2007-08-13 06:19:51 +00:00
findoptdiff The -funcresolve and -raise options no longer exist. 2007-03-22 21:06:50 +00:00
findsym.pl
GenLibDeps.pl Added special support for stripping CRLF characters that may appear in the 2007-12-24 08:04:39 +00:00
getsrcs.sh remove attributions from utils. 2007-12-29 20:37:13 +00:00
importNLT.pl
llvm-native-gcc
llvm-native-gxx
llvmdo remove attributions from utils. 2007-12-29 20:37:13 +00:00
llvmgrep remove attributions from utils. 2007-12-29 20:37:13 +00:00
Makefile remove attributions from tools/utils makefiles. 2007-12-29 20:07:17 +00:00
makellvm remove obsolete path 2007-02-14 07:39:35 +00:00
mkpatch Fixing some differences between CVS and SVN diff'ing. Reid fixed these already, 2007-07-20 17:21:54 +00:00
NewNightlyTest.pl Need a space to separate Make options. 2008-01-14 17:58:03 +00:00
NightlyTest.gnuplot
NightlyTestTemplate.html
NLT.schema Test modified svn mailer 2007-07-03 21:57:50 +00:00
OldenDataRecover.pl
parseNLT.pl
plotNLT.pl
profile.pl update this to use llvm-config, patch by Jose M. Moya 2007-09-11 17:09:54 +00:00
RegressionFinder.pl
userloc.pl
webNLT.pl