[llvm-dev] Is the correct behavior of getelementptr i192* for opt + llc -march=aarch64?
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Tue Nov 8 21:27:42 PST 2016
Hi Shigeo,
On 8 November 2016 at 19:31, MITSUNARI Shigeo via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> opt and opt + llc generate the difference aarch64 asm code for the following LLVM code.
This looks like it's because the IR doesn't contain a datalayout
declaration, which affects how i192 is interpreted (particularly
sizeof(i192) for GEP purposes).
> Is it intended behavior?
It'll disappear if you provide a correct datalayout, incorrect ones
are unsupported in any configuration.
Cheers.
Tim.
More information about the llvm-dev
mailing list