[llvm] d765d12 - Fix build failure caused by c5ba0d33cc060cc06a28a5d9101060afd1c0ee9a
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 01:06:03 PDT 2020
Author: David Sherwood
Date: 2020-10-12T09:05:39+01:00
New Revision: d765d12676905c9e51f4c3b23218cc1e330f9c4f
URL: https://github.com/llvm/llvm-project/commit/d765d12676905c9e51f4c3b23218cc1e330f9c4f
DIFF: https://github.com/llvm/llvm-project/commit/d765d12676905c9e51f4c3b23218cc1e330f9c4f.diff
LOG: Fix build failure caused by c5ba0d33cc060cc06a28a5d9101060afd1c0ee9a
Added:
Modified:
llvm/include/llvm/IR/Intrinsics.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Intrinsics.h b/llvm/include/llvm/IR/Intrinsics.h
index 53bb388a3ba9..7926dc5aa4a4 100644
--- a/llvm/include/llvm/IR/Intrinsics.h
+++ b/llvm/include/llvm/IR/Intrinsics.h
@@ -188,7 +188,7 @@ namespace Intrinsic {
}
static IITDescriptor getVector(unsigned Width, bool IsScalable) {
- IITDescriptor Result = {Vector, 0};
+ IITDescriptor Result = {Vector, {0}};
Result.Vector_Width = ElementCount::get(Width, IsScalable);
return Result;
}
More information about the llvm-commits
mailing list