Displaying 1 result from an estimated 1 matches for "foo1val".
2005 Apr 21
1
[LLVMdev] a packed constant cannot be referenced in the arithmetic instruction?
%foo1 = constant <4 x float> <float 1.0, float 2.0, float 3.0, float 4.0>;
void %main() {
%x = mul <4 x float> %foo1, %foo1
ret void
}
llvm-as complained " Reference to an invalid definition: 'foo1' of
type '<4 x float>' ".
I searched all test script in llvm/test, and I found the only way to
use packed constant is:
%foo1 = uninitialized