This pr transforms bit_cast<std::array<...>>(...) into a union instead because as per #2237 the current transform violates C strict aliasing rules thus causing optimization issues.
git grep 'bit_cast.*<.*array' in llvm-capstone's llvm/lib/Target subtree was used to find transform targets.
This pr transforms
bit_cast<std::array<...>>(...)
into aunion
instead because as per #2237 the current transform violates C strict aliasing rules thus causing optimization issues.git grep 'bit_cast.*<.*array'
in llvm-capstone'sllvm/lib/Target
subtree was used to find transform targets.