mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Teach CodeGen's version of computeMaskedBits to understand the range metadata.
This is the CodeGen equivalent of r153747. I tested that there is not noticeable performance difference with any combination of -O0/-O2 /-g when compiling gcc as a single compilation unit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153817 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -195,9 +195,10 @@ MachineFunction::DeleteMachineBasicBlock(MachineBasicBlock *MBB) {
|
||||
MachineMemOperand *
|
||||
MachineFunction::getMachineMemOperand(MachinePointerInfo PtrInfo, unsigned f,
|
||||
uint64_t s, unsigned base_alignment,
|
||||
const MDNode *TBAAInfo) {
|
||||
const MDNode *TBAAInfo,
|
||||
const MDNode *Ranges) {
|
||||
return new (Allocator) MachineMemOperand(PtrInfo, f, s, base_alignment,
|
||||
TBAAInfo);
|
||||
TBAAInfo, Ranges);
|
||||
}
|
||||
|
||||
MachineMemOperand *
|
||||
|
Reference in New Issue
Block a user