[Llvm-bgq-discuss] trouble with latest clang install
Biddiscombe, John A.
biddisco at cscs.ch
Fri Feb 21 03:24:01 CST 2014
> Interesting. If you're compiling for the IONs you should pass -mllvm -qpx-
> stack-unaligned (this tells the backend that the stack is only 16-byte aligned,
> not 32-byte aligned as under CNK -- sorry, I know this is badly named) and
> either turn off QPX generation with -mno-qpx or force dynamic stack
> relocation in all functions with -mllvm -ppc-always-use-base-pointer. Unless
> you really need QPX on the IONs, then I recommend just turning it off
> because forcing dynamic stack relocation in all functions will slow everything
> else down.
Hal
Thank you. These are good things to know. I'll add these flags to my cmake configuration.
NB. I'm not familiar with the term 'dynamic stack relocation' - does this mean that stack is not allocated off the stack, but rather from some other memory pool?
Yours
JB
More information about the llvm-bgq-discuss
mailing list