summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-10 23:37:55 +0000
committerDan Gohman <gohman@apple.com>2009-09-10 23:37:55 +0000
commit7190d480758fd7fe2f9d87bee25b97468fcbf39f (patch)
treedbad9ff5ee1c824d547c5909303d3221c5cbedd6 /clang/lib/CodeGen/CodeGenModule.cpp
parent8ef65fbd49bdcd41583424ef40b4ddbd04d7908a (diff)
downloadbcm5719-llvm-7190d480758fd7fe2f9d87bee25b97468fcbf39f.tar.gz
bcm5719-llvm-7190d480758fd7fe2f9d87bee25b97468fcbf39f.zip
Factor out the code for checking that all indices in a getelementptr are
within the notional bounds of the static type of the getelementptr (which is not the same as "inbounds") from GlobalOpt into a utility routine, and use it in ConstantFold.cpp to check whether there are any mis-behaved indices. llvm-svn: 81478
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud