https://godbolt.org/z/YT8Ex8ohd ``` define i8 @phi(ptr %d, i32 %n) { %ld = load <8 x i1>, ptr %d %b = bitcast <8 x i1> %ld to i8 ret i8 %b } ``` ``` LLVM ERROR: unable to legalize instruction: %2:_(<8 x s1>) = G_LOAD %0:_(p0) :: (load (<8 x s1>) from %ir.d, align 4) ```