add the ability for TargetData to return information about legal integer
authorChris Lattner <sabre@nondot.org>
Sat, 7 Nov 2009 09:35:34 +0000 (09:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 7 Nov 2009 09:35:34 +0000 (09:35 +0000)
commite82bdc4809240ab59977b9950288174b2f2dd852
treeb4060f4e83c931aae54651d9b65823fb445422ec
parent2e07494170d5f56805b7a6c1b70808fc2a157052
add the ability for TargetData to return information about legal integer
datatypes on a given CPU.  This is intended to allow instcombine and other
transformations to avoid converting big sequences of operations to an
inconvenient width, and will help clean up after SRoA.  See also "Adding
legal integer sizes to TargetData" on Feb 1, 2009 on llvmdev, and PR3451.

Comments welcome.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86370 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.html
include/llvm/Target/TargetData.h
lib/Target/TargetData.cpp