mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
PR400 phase 1 implementation feedback.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -255,8 +255,7 @@ public:
|
||||
/// getAlignment - Return the alignment of the access that is being performed
|
||||
///
|
||||
unsigned getAlignment() const {
|
||||
signed Log2AlignVal = ((SubclassData>>1)-1);
|
||||
return ((Log2AlignVal < 0) ? 0 : 1<<Log2AlignVal);
|
||||
return (1 << (SubclassData>>1)) >> 1;
|
||||
}
|
||||
|
||||
void setAlignment(unsigned Align);
|
||||
@ -331,8 +330,7 @@ public:
|
||||
/// getAlignment - Return the alignment of the access that is being performed
|
||||
///
|
||||
unsigned getAlignment() const {
|
||||
signed Log2AlignVal = ((SubclassData>>1)-1);
|
||||
return ((Log2AlignVal < 0) ? 0 : 1<<Log2AlignVal);
|
||||
return (1 << (SubclassData>>1)) >> 1;
|
||||
}
|
||||
|
||||
void setAlignment(unsigned Align);
|
||||
|
Reference in New Issue
Block a user