diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-09-16 22:43:16 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-09-16 22:43:16 +0000 |
| commit | 899f7d2b00a59f284fdb8915b63813705ce66148 (patch) | |
| tree | 45bbbd35a103203498bfbd2fd58ad14d262a32a0 /llvm/lib/CodeGen/InlineSpiller.cpp | |
| parent | e41f37d99db1e341b3cf24ed49f21b58d63c15c4 (diff) | |
| download | bcm5719-llvm-899f7d2b00a59f284fdb8915b63813705ce66148.tar.gz bcm5719-llvm-899f7d2b00a59f284fdb8915b63813705ce66148.zip | |
MemCpyOptimizer: Use max legal int size instead of pointer size
If there are no legal integers, assume 1 byte.
This makes more sense than using the pointer size as
a guess for the maximum GPR width.
It is conceivable to want to use some 64-bit pointers
on a target where 64-bit integers aren't legal.
llvm-svn: 190817
Diffstat (limited to 'llvm/lib/CodeGen/InlineSpiller.cpp')
0 files changed, 0 insertions, 0 deletions

