summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/Utils
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2019-11-12 08:28:12 +0100
committerMikael Holmen <mikael.holmen@ericsson.com>2019-11-12 08:28:12 +0100
commitc8e4b536771e2ebb4702da3de0a7e4238b433bbf (patch)
treee00ffdc5aa87f3f7cb1dcb3918422938ffc8eb16 /llvm/unittests/Transforms/Utils
parente80e9b975218c2bd6ca4de8b1035103e43442d7c (diff)
downloadbcm5719-llvm-c8e4b536771e2ebb4702da3de0a7e4238b433bbf.tar.gz
bcm5719-llvm-c8e4b536771e2ebb4702da3de0a7e4238b433bbf.zip
[VFABI] Remove unused variables in testcase, fix buildbot
E.g. the buildbot at http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/7259/steps/build-stage2-unified-tree/logs/stdio failed with /home/buildbots/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Transforms/Utils/VFABIUtils.cpp:50:22: error: unused variable 'FnAttrs' [-Werror,-Wunused-variable] const AttributeSet FnAttrs = Attrs.getFnAttributes(); ^ 1 error generated.
Diffstat (limited to 'llvm/unittests/Transforms/Utils')
-rw-r--r--llvm/unittests/Transforms/Utils/VFABIUtils.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Transforms/Utils/VFABIUtils.cpp b/llvm/unittests/Transforms/Utils/VFABIUtils.cpp
index f69e31cd610..689e1280dea 100644
--- a/llvm/unittests/Transforms/Utils/VFABIUtils.cpp
+++ b/llvm/unittests/Transforms/Utils/VFABIUtils.cpp
@@ -46,8 +46,6 @@ TEST_F(VFABIAttrTest, Write) {
Mappings.push_back("_ZGVnN8v_g");
Mappings.push_back("_ZGVnN2v_g(custom_vg)");
VFABI::setVectorVariantNames(CI, Mappings);
- const AttributeList Attrs = CI->getAttributes();
- const AttributeSet FnAttrs = Attrs.getFnAttributes();
const StringRef S = CI->getAttribute(AttributeList::FunctionIndex,
"vector-function-abi-variant")
.getValueAsString();
OpenPOWER on IntegriCloud