diff options
| author | Diogo N. Sampaio <diogo.sampaio@arm.com> | 2019-01-04 11:04:18 +0000 | 
|---|---|---|
| committer | Diogo N. Sampaio <diogo.sampaio@arm.com> | 2019-01-04 11:04:18 +0000 | 
| commit | c6ed91e100fad24ccfd6602997879c0f543f4935 (patch) | |
| tree | 50baa45d564c4b90a5870233a8a2cde44ce40260 /llvm/unittests/Support | |
| parent | 232ab01e6b3ce2f855af886f04ee79d0db7e392d (diff) | |
| download | bcm5719-llvm-c6ed91e100fad24ccfd6602997879c0f543f4935.tar.gz bcm5719-llvm-c6ed91e100fad24ccfd6602997879c0f543f4935.zip | |
[AArch64] Add command-line option predres
Prediction control instructions are only
mandatory from v8.5a onwards but is optional
from Armv8.0-A. This patch adds a command
line option to enable it by it's own.
Differential Revision: https://reviews.llvm.org/D56007
llvm-svn: 350385
Diffstat (limited to 'llvm/unittests/Support')
| -rw-r--r-- | llvm/unittests/Support/TargetParserTest.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/llvm/unittests/Support/TargetParserTest.cpp b/llvm/unittests/Support/TargetParserTest.cpp index 3676deec631..28e995eae6b 100644 --- a/llvm/unittests/Support/TargetParserTest.cpp +++ b/llvm/unittests/Support/TargetParserTest.cpp @@ -990,7 +990,9 @@ TEST(TargetParserTest, AArch64ArchExtFeature) {                                {"rng", "norng", "+rand", "-rand"},                                {"memtag", "nomemtag", "+mte", "-mte"},                                {"ssbs", "nossbs", "+ssbs", "-ssbs"}, -                              {"sb", "nosb", "+sb", "-sb"}}; +                              {"sb", "nosb", "+sb", "-sb"}, +                              {"predres", "nopredres", "+predres", "-predres"} +};    for (unsigned i = 0; i < array_lengthof(ArchExt); i++) {      EXPECT_EQ(StringRef(ArchExt[i][2]), | 

