summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-04 18:57:15 +0000
committerChris Lattner <sabre@nondot.org>2010-01-04 18:57:15 +0000
commita751d09c0805a7bbe284d80e39b197319c1a4418 (patch)
treef400bec588451ab9769b6b1ed218668bb043ddb3 /llvm/lib/CodeGen/ELFWriter.h
parent2cb08e69b1b252fb730ca831f46f6122238bc1d6 (diff)
downloadbcm5719-llvm-a751d09c0805a7bbe284d80e39b197319c1a4418.tar.gz
bcm5719-llvm-a751d09c0805a7bbe284d80e39b197319c1a4418.zip
Truncate GEP indexes larger than the pointer size down to pointer size
when doing this transform if the GEP is not inbounds. No testcase because it is very difficult to trigger this: instcombine already canonicalizes GEP indices to pointer size, so it relies specific permutations of the instcombine worklist. Thanks to Duncan for pointing this possible problem out. llvm-svn: 92495
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud