[PATCH] D35688: More extendable LaneBitmask
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 16 23:06:42 PDT 2018
craig.topper added inline comments.
================
Comment at: include/llvm/MC/LaneBitmask.h:149
+ static LaneBitmask getLane(unsigned Lane) {
+ Type T;
+ T[Lane / 32] = 1u << (Lane % 32);
----------------
I think this leaves all the other entries in T as garbage. This could explain the error hameeza is getting.
Try changing this to
```
Type T = {};
```
Repository:
rL LLVM
https://reviews.llvm.org/D35688
More information about the llvm-commits
mailing list