mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[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.
This commit is contained in:
parent
6350ceb0f2
commit
9ef711ef65
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user