1
0
mirror of https://github.com/RPCSX/llvm.git synced 2025-01-31 17:42:40 +00:00
Brian Gaeke 4f70b63ebc Make GEPs not suck so much:
* Don't emit the Index * ElementSize multiply if Index is a constant.
* Use a shift, not a multiply, if ElementSize is 1/2/4/8.
* If ElementSize fits in the immediate field of SMUL, then put it there.

Fix a bug where struct offsets might be truncated (ConstantSInt::get is
now used instead of ConstantInt::get).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18792 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-11 05:19:02 +00:00
..
2004-12-11 00:14:15 +00:00
2004-12-10 05:40:19 +00:00
2004-12-11 00:14:15 +00:00
2004-12-11 00:14:15 +00:00
2004-12-11 05:19:02 +00:00
2004-11-14 21:54:41 +00:00