diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-20 17:30:51 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-20 17:30:51 +0000 |
commit | b47f3ea22461b2d877d4a3246d54bdeab4fcfaa3 (patch) | |
tree | d78db680f4aadcb32f27a0a143778326ce8a6d0c /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 2769e9338429377f0d06fb78ec884bf69b0c7d41 (diff) |
replace usage of EmitGEPOffset() with TargetData::getIndexedOffset() when the GEP offset is known to be constant.
With this change, we avoid relying on the IR Builder to constant fold the operations.
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions