mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
R600: Fix bug detected by GCC warning.
R600TextureIntrinsicsReplacer.cpp:232: warning: the address of ‘ArgsType’ will always evaluate as ‘true’ This doesn't have any effect on the output as a vararg intrinsic behaves the same way as a non-vararg one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f8d90df45
commit
d54bf7ceef
@ -229,7 +229,7 @@ public:
|
|||||||
Int32Type,
|
Int32Type,
|
||||||
Int32Type,
|
Int32Type,
|
||||||
};
|
};
|
||||||
TexSign = FunctionType::get(V4f32Type, ArgsType);
|
TexSign = FunctionType::get(V4f32Type, ArgsType, /*isVarArg=*/false);
|
||||||
Type *ArgsQType[] = {
|
Type *ArgsQType[] = {
|
||||||
V4i32Type,
|
V4i32Type,
|
||||||
Int32Type,
|
Int32Type,
|
||||||
@ -242,7 +242,7 @@ public:
|
|||||||
Int32Type,
|
Int32Type,
|
||||||
Int32Type,
|
Int32Type,
|
||||||
};
|
};
|
||||||
TexQSign = FunctionType::get(V4f32Type, ArgsQType);
|
TexQSign = FunctionType::get(V4f32Type, ArgsQType, /*isVarArg=*/false);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user