summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/UnitTestMain/TestMain.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-10 22:02:30 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-10 22:02:30 +0000
commit0b382a7cb8b0a46fc69f94dd59d83855b72f1277 (patch)
treea9d9a5170c5a070a7bc8c835e95676b3283b65e3 /llvm/utils/unittest/UnitTestMain/TestMain.cpp
parent7acb42a41a7ed67f19553cd3617aacbca832a458 (diff)
downloadbcm5719-llvm-0b382a7cb8b0a46fc69f94dd59d83855b72f1277.tar.gz
bcm5719-llvm-0b382a7cb8b0a46fc69f94dd59d83855b72f1277.zip
DAG: Avoid OOB when legalizing vector indexing
If a vector index is out of bounds, the result is supposed to be undefined but is not undefined behavior. Change the legalization for indexing the vector on the stack so that an out of bounds index does not create an out of bounds memory access. llvm-svn: 291604
Diffstat (limited to 'llvm/utils/unittest/UnitTestMain/TestMain.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud