[PATCH] Implement Named Register Global Variables in LLVM

Behan Webster behanw at converseincode.com
Mon Apr 28 12:56:27 PDT 2014


Works well, but generates an invalid warning:

         register unsigned long sp asm ("sp");

warning: variable 'sp' is uninitialized when used here [-Wuninitialized]

Is there a way this can be fixed without turning off this check?

Behan

http://reviews.llvm.org/D3261






More information about the llvm-commits mailing list