Data layout of global struct variables aligned 64

Hi There,
I have a requirement that the start address of global variables (struct type) be 64 bits aligned. Specifically, in the application code, we have an assertion that checks if the address of a global variable is divisible by 64.
For example, G % 64 == 0 should be true if G is a global struct type. Note that while declaring G, we explicitly specify that it should be aligned to 64.
Can we specify the data layout during the llvm bitcode generation? I tried modifying the data layout = “e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:64-S64-G64” but still not aligned.

Thank you


Your post doesn’t have a question in it.

Thank you for pointing this.