Displaying 7 results from an estimated 7 matches for "parseoptionalcommaalign".
2010 Feb 11
3
[LLVMdev] Metadata
...inconvenient.
The problem is this code in llvm-as:
int LLParser::ParseLoad(Instruction *&Inst, PerFunctionState &PFS,
bool isVolatile) {
Value *Val; LocTy Loc;
unsigned Alignment = 0;
bool AteExtraComma = false;
if (ParseTypeAndValue(Val, Loc, PFS) ||
ParseOptionalCommaAlign(Alignment, AteExtraComma))
return true;
[...]
}
/// ParseOptionalCommaAlign
/// ::=
/// ::= ',' align 4
///
/// This returns with AteExtraComma set to true if it ate an excess comma at
the
/// end.
bool LLParser::ParseOptionalCommaAlign(unsigned &Alignment,...
2010 Feb 11
0
[LLVMdev] Metadata
On Wednesday 10 February 2010 14:58:58 Dan Gohman wrote:
> On Feb 10, 2010, at 12:42 PM, David Greene wrote:
> > On Wednesday 10 February 2010 12:58:25 Chris Lattner wrote:
> >> I think that adding a bit to LoadSDNode and StoreSDNode would make
> >> sense.
> >
> > Ok. The consequence is that a number of functions will have to change to
> > propagate
2010 Feb 10
3
[LLVMdev] Metadata
On Feb 10, 2010, at 12:42 PM, David Greene wrote:
> On Wednesday 10 February 2010 12:58:25 Chris Lattner wrote:
>
>> I think that adding a bit to LoadSDNode and StoreSDNode would make sense.
>
> Ok. The consequence is that a number of functions will have to change to
> propagate this bit, analogous to what happens with isVolatile. It's
> essentially what we do
2010 Feb 11
0
[LLVMdev] Metadata
On Thursday 11 February 2010 14:05:21 David Greene wrote:
> Either ParseLoad and probably other instructions need to look for metadata
> explicitly or ParseOptionalCommaAlign needs to know about general metadata.
>
> My inkling is to fix ParseOptionalCommaAlign. Sound reasonable?
Well, that's a rat's nest. I backed up and thought maybe I have the metadata
syntax wrong.
So I tried a bunch of things:
%r8 = load <2 x double>* %r6, align 16, metada...
2010 Feb 11
4
[LLVMdev] Metadata
On Feb 11, 2010, at 12:50 PM, David Greene wrote:
> On Thursday 11 February 2010 14:05:21 David Greene wrote:
>
>> Either ParseLoad and probably other instructions need to look for metadata
>> explicitly or ParseOptionalCommaAlign needs to know about general metadata.
>>
>> My inkling is to fix ParseOptionalCommaAlign. Sound reasonable?
>
> Well, that's a rat's nest. I backed up and thought maybe I have the metadata
> syntax wrong.
>
> So I tried a bunch of things:
>
> %r8 = lo...
2010 Feb 11
0
[LLVMdev] Metadata
...attner <clattner at apple.com> wrote:
>
> On Feb 11, 2010, at 12:50 PM, David Greene wrote:
>
>> On Thursday 11 February 2010 14:05:21 David Greene wrote:
>>
>>> Either ParseLoad and probably other instructions need to look for metadata
>>> explicitly or ParseOptionalCommaAlign needs to know about general metadata.
>>>
>>> My inkling is to fix ParseOptionalCommaAlign. Sound reasonable?
>>
>> Well, that's a rat's nest. I backed up and thought maybe I have the metadata
>> syntax wrong.
>>
>> So I tried a bunch of thi...
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...t(unsigned &Alignment);
bool ParseScopeAndOrdering(bool isAtomic, SynchronizationScope &Scope,
AtomicOrdering &Ordering);
+ bool ParseOrdering(AtomicOrdering &Ordering);
bool ParseOptionalStackAlignment(unsigned &Alignment);
bool ParseOptionalCommaAlign(unsigned &Alignment, bool &AteExtraComma);
bool ParseOptionalCommaInAlloca(bool &IsInAlloca);
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp
index 527fd25..75dd56f 100644
--- a/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/lib/Bitcode/Reader/B...