summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2019-07-25 06:53:59 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2019-07-25 06:53:59 +0000
commitcd16fadb9ccd7c99ee78e20c3239a5ddc9a938a1 (patch)
tree00c03f1f29ee268bc4a7d84abfe680635d7563af /llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
parentee74c9e5fdd8c8bcd08d219ed6132713323113a6 (diff)
downloadbcm5719-llvm-cd16fadb9ccd7c99ee78e20c3239a5ddc9a938a1.tar.gz
bcm5719-llvm-cd16fadb9ccd7c99ee78e20c3239a5ddc9a938a1.zip
[BasicAA] Temporarily disable two tests
These tests are breaking three independent upstream buildbots (as well downstream ones). These breakages have appeared mysteriously, consistently, and during different revisions. Sadly, none of {ASAN,TSAN,MSAN,UBSAN} flag anything, so the cause here is nonobvious. Until we've figured this out, it seems best to disable these tests entirely, so that the affected bots don't remain silent about any other, unrelated failures. Please see PR42719 for more information. llvm-svn: 366986
Diffstat (limited to 'llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp')
-rw-r--r--llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp b/llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
index f69d2d14a6c..c08366ebc6e 100644
--- a/llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
+++ b/llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
@@ -64,10 +64,13 @@ public:
: M("BasicAATest", C), B(C), DL(DLString), TLI(TLII), F(nullptr) {}
};
+// FIXME: Both of these are disabled at the moment due to strange buildbot
+// failures. Please see https://bugs.llvm.org/show_bug.cgi?id=42719
+
// Check that a function arg can't trivially alias a global when we're accessing
// >sizeof(global) bytes through that arg, unless the access size is just an
// upper-bound.
-TEST_F(BasicAATest, AliasInstWithObjectOfImpreciseSize) {
+TEST_F(BasicAATest, DISABLED_AliasInstWithObjectOfImpreciseSize) {
F = Function::Create(
FunctionType::get(B.getVoidTy(), {B.getInt32Ty()->getPointerTo()}, false),
GlobalValue::ExternalLinkage, "F", &M);
@@ -101,7 +104,7 @@ TEST_F(BasicAATest, AliasInstWithObjectOfImpreciseSize) {
// Check that we fall back to MayAlias if we see an access of an entire object
// that's just an upper-bound.
-TEST_F(BasicAATest, AliasInstWithFullObjectOfImpreciseSize) {
+TEST_F(BasicAATest, DISABLED_AliasInstWithFullObjectOfImpreciseSize) {
F = Function::Create(
FunctionType::get(B.getVoidTy(), {B.getInt64Ty()}, false),
GlobalValue::ExternalLinkage, "F", &M);
OpenPOWER on IntegriCloud