[flang-commits] [clang] [flang] [llvm] [InstCombine] Canonicalize constant GEPs to i8 source element type (PR #68882)
Hongtao Yu via flang-commits
flang-commits at lists.llvm.org
Fri Jul 5 12:06:38 PDT 2024
htyu wrote:
> @karthik-man LLVM _always_ requires a correct data layout. Yes, that includes InstCombine.
What sort of correct data layout should be used if we are optimization machine-independently? Like cross-compilation with `Clang -O3 -emit-llvm` , but optimized the generated IR for different targets later on.
https://github.com/llvm/llvm-project/pull/68882
More information about the flang-commits
mailing list