DescriptionRemove llvm bitcode reader localmod that dropped datalayout.
As described in bug 2554, this enables a few more "opt" optimizations since "opt" relies on this for the datalayout ("opt" differs from "llc" in that it only uses the target triple for TargetLibraryInfo).
Alternatively, we could leave it out of the bitcode and feed the datalayout to opt through a commandline parameter, but we probably want to enforce some consistency w/ Clang -O options (which had already done things assuming the datalayout in the bitcode file), and the commandline option could go out of sync more quickly.
related to:
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2554
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|