[BasicAA] Remove -basicaa alias

Follow up of https://reviews.llvm.org/D82607.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D83067
This commit is contained in:
Arthur Eubanks 2020-07-07 10:43:40 -07:00
parent 1a2ed71a8a
commit 83158cf95d
2 changed files with 0 additions and 6 deletions

View File

@ -73,11 +73,6 @@ public:
llvm_unreachable(nullptr);
}
addLiteralOption(P->getPassArgument().data(), P, P->getPassName().data());
// Temporary alias for basicaa -> basic-aa
// TODO: remove once everything is migrated to basic-aa
if (P->getPassArgument() == "basic-aa")
addLiteralOption("basicaa", P, "deprecated alias for basic-aa");
}
void passEnumerate(const PassInfo *P) override { passRegistered(P); }

View File

@ -1,4 +1,3 @@
; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
; RUN: opt < %s -basic-aa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"