llvm-project/llvm/lib
Chris Lattner 9776f7259b Handle a common case more carefully. In particular, instead of transforming
pointer recurrences into expressions from this:

  %P_addr.0.i.0 = phi sbyte* [ getelementptr ([8 x sbyte]* %.str_1, int 0, int 0), %entry ], [ %inc.0.i, %no_exit.i ]
  %inc.0.i = getelementptr sbyte* %P_addr.0.i.0, int 1            ; <sbyte*> [#uses=2]

into this:

  %inc.0.i = getelementptr sbyte* getelementptr ([8 x sbyte]* %.str_1, int 0, int 0), int %inc.0.i.rec

Actually create something nice, like this:

  %inc.0.i = getelementptr [8 x sbyte]* %.str_1, int 0, int %inc.0.i.rec

llvm-svn: 16924
2004-10-11 23:06:50 +00:00
..
Analysis Fix SingleSource/Benchmarks/McGill/chomp 2004-10-11 04:07:27 +00:00
AsmParser Initial version of automake Makefile.am file. 2004-10-10 20:43:57 +00:00
Bytecode Initial version of automake Makefile.am file. 2004-10-10 20:43:57 +00:00
CodeGen ModuloScheduling has moved to lib/Target/SparcV9 2004-10-10 23:37:40 +00:00
Debugger Initial version of automake Makefile.am file. 2004-10-10 20:43:57 +00:00
ExecutionEngine Initial version of automake Makefile.am file. 2004-10-10 20:43:57 +00:00
Support Initial version of automake Makefile.am file. 2004-10-10 20:43:57 +00:00
System Initial version of automake Makefile.am file. 2004-10-10 20:43:57 +00:00
Target Fix a warning that is emitted on the suns 2004-10-11 15:50:40 +00:00
Transforms Handle a common case more carefully. In particular, instead of transforming 2004-10-11 23:06:50 +00:00
VMCore Allow creation of GEP constantexprs with a vector of value* operands as 2004-10-11 22:52:25 +00:00
Makefile Wrap long line 2004-09-15 01:34:42 +00:00
Makefile.am Initial version of automake Makefile.am file. 2004-10-10 20:43:57 +00:00