Skip to content

Commit

Permalink
fixup! [LLVM] adapt to scalable vector types
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Oct 19, 2020
1 parent cfd5eb9 commit 55c4628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ std::vector<unsigned> first_ptr(Type *T)
num_elements = AT->getNumElements();
else {
VectorType *VT = cast<VectorType>(T);
#if JL_LLVM_VERSION >= 12000
#if JL_LLVM_VERSION >= 120000
ElementCount EC = VT->getElementCount();
num_elements = EC.getKnownMinValue();
#else
Expand Down

0 comments on commit 55c4628

Please sign in to comment.