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
emacs
fpcmp
PerfectShuffle
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
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
getsrcs.sh
importNLT.pl
llvm-native-gcc
llvm-native-gxx
llvmdo
llvmgrep
Makefile
makellvm
mkpatch
NewNightlyTest.pl
NightlyTest.gnuplot
NightlyTestTemplate.html Cause the various warnings list to be generated via a <ul> list with 2006-03-21 01:21:39 +00:00
NLT.schema
OldenDataRecover.pl
parseNLT.pl
plotNLT.pl
profile.pl
RegressionFinder.pl
userloc.pl
webNLT.pl