codegen_llvm.cc
46.5 KB
-
[LLVM] Use llvm::Align with LLVM 11+ to avoid warnings (#5264) · 36ce2e24
LLVM 11 is introducing a separate class to represent alignment. The functions in IRBuilder that create aligned loads and stores, and which accept the alignment as an unsigned value have been deprecated (and now cause warnings to be emitted).
Krzysztof Parzyszek committed