mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
declare a class with 'class' instead of struct to avoid tag mismatch
warnings, and don't shift by a bool. Patch by Rizky Herucakra! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105886 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c47d3b73f
commit
5ca96988b0
@ -106,7 +106,8 @@ struct InstrItinerary {
|
||||
/// Instruction itinerary Data - Itinerary data supplied by a subtarget to be
|
||||
/// used by a target.
|
||||
///
|
||||
struct InstrItineraryData {
|
||||
class InstrItineraryData {
|
||||
public:
|
||||
const InstrStage *Stages; ///< Array of stages selected
|
||||
const unsigned *OperandCycles; ///< Array of operand cycles selected
|
||||
const InstrItinerary *Itineratries; ///< Array of itineraries selected
|
||||
|
@ -669,7 +669,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto,
|
||||
case 'h': nElts = 4; break;
|
||||
case 'f': nElts = 2; break;
|
||||
}
|
||||
nElts <<= quad;
|
||||
if (quad) nElts <<= 1;
|
||||
|
||||
char arg = 'a';
|
||||
std::string s;
|
||||
|
Loading…
Reference in New Issue
Block a user