summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/Utils/VFABIUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Transforms/Utils/VFABIUtils.cpp')
-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