[ConstantFolding] Fix bitcast vector of i1.
StoreSizeInBytes of i1 is 8,so current implementation return incorrect result.
For example: bitcast <8 x i1> <i1 true, i1 true, i1 false, i1 true, i1 false, i1 true, i1 false, i1 true> to i8
converted to i8 1
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM