[llvm-dev] Is the correct behavior of getelementptr i192* foropt + llc -march=aarch64?

MITSUNARI Shigeo via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 8 22:40:19 PST 2016

Hi Mehdi,

>If you just want to play with some IR, you can look it up in the source code, or in the test directory:
>$ git grep datalayout test/CodeGen/AArch64/
>test/CodeGen/AArch64/GlobalISel/arm64-callingconv.ll:target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"

Thank you for advice.
I verified it by adding 'target datalayout="e-m:o-i64:64-i128:128-n32:64-S128:i192:192"' at the top of a.ll.

% opt-3.7 -O3 a.ll -o - | llc-3.7 -O3 -o - -march=aarch64
    str     xzr, [x0, #32]


More information about the llvm-dev mailing list