| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 157375
|
| |
|
|
| |
llvm-svn: 157374
|
| |
|
|
|
|
| |
to pass the tables around.
llvm-svn: 157373
|
| |
|
|
|
|
| |
sizeof/sizeof.
llvm-svn: 157369
|
| |
|
|
| |
llvm-svn: 157368
|
| |
|
|
|
|
| |
uint16_t. Simplify loop iterating over one of those tables. No functional change intended.
llvm-svn: 157367
|
| |
|
|
|
|
| |
intended.
llvm-svn: 157358
|
| |
|
|
|
|
| |
Patch by Jush Lu <jush.msn@gmail.com>.
llvm-svn: 157336
|
| |
|
|
| |
llvm-svn: 157313
|
| |
|
|
| |
llvm-svn: 157309
|
| |
|
|
| |
llvm-svn: 157292
|
| |
|
|
|
|
| |
introduced in r157043. Fixes PR12908.
llvm-svn: 157236
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instruction encodings can be excluded during mips16 processing.
This revision fixes the issue raised by Jim Grosbach.
bool hasStandardEncoding() const { return !inMips16Mode(); }
When micromips is added it will be
bool StandardEncoding() const { return !inMips16Mode()&& !inMicroMipsMode(); }
No additional testing is needed other than to assure that there is no regression
from this patch.
Patch by Reed Kotler.
llvm-svn: 157234
|
| |
|
|
|
|
|
|
|
|
| |
32-bit offset jump tables just use real branch instructions and so aren't
marked as data regions. We were still emitting the .end_data_region
marker though, which assert()ed.
rdar://11499158
llvm-svn: 157221
|
| |
|
|
|
|
| |
t2RSB defined the operand correctly, but tRSBS didn't.
llvm-svn: 157200
|
| |
|
|
|
|
| |
comes from two 128-bit pieces.
llvm-svn: 157175
|
| |
|
|
|
|
| |
It can sometimes be used in addressing modes that don't support %ESP.
llvm-svn: 157165
|
| |
|
|
|
|
|
| |
This seems to fix the remaining compile-time failures on PPC64 when
compiling with -enable-ppc-preinc.
llvm-svn: 157159
|
| |
|
|
| |
llvm-svn: 157152
|
| |
|
|
|
|
| |
They need to go on the PICLDR as the verifier points out.
llvm-svn: 157151
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current code will generate a prologue which starts with something like:
mflr 0
stw 31, -4(1)
stw 0, 4(1)
stwu 1, -16(1)
But under the PPC32 SVR4 ABI, access to negative offsets from R1 is not allowed.
This was pointed out by Peter Bergner.
llvm-svn: 157133
|
| |
|
|
| |
llvm-svn: 157129
|
| |
|
|
| |
llvm-svn: 157127
|
| |
|
|
|
|
| |
functional change intended.
llvm-svn: 157122
|
| |
|
|
|
|
| |
SwitchInst methods.
llvm-svn: 157112
|
| |
|
|
| |
llvm-svn: 157109
|
| |
|
|
|
|
| |
Patch by Jack Carter.
llvm-svn: 157093
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a dedicated MachO load command to annotate data-in-code regions.
This is the same format the linker produces for final executable images,
allowing consistency of representation and use of introspection tools
for both object and executable files.
Data-in-code regions are annotated via ".data_region"/".end_data_region"
directive pairs, with an optional region type.
data_region_directive := ".data_region" { region_type }
region_type := "jt8" | "jt16" | "jt32" | "jta32"
end_data_region_directive := ".end_data_region"
The previous handling of ARM-style "$d.*" labels was broken and has
been removed. Specifically, it didn't handle ARM vs. Thumb mode when
marking the end of the section.
rdar://11459456
llvm-svn: 157062
|
| |
|
|
|
|
| |
Patch by Jack Carter.
llvm-svn: 157057
|
| |
|
|
| |
llvm-svn: 157044
|
| |
|
|
| |
llvm-svn: 157043
|
| |
|
|
|
|
|
|
|
|
| |
the 0b10 mask encoding bits. Make MSR APSR writes without a _<bits> qualifier
an alias for MSR APSR_nzcvq even though ARM as deprecated it use. Also add
support for suffixes (_nzcvq, _g, _nzcvqg) for APSR versions. Some FIXMEs in
the code for better error checking when versions shouldn't be used.
rdar://11457025
llvm-svn: 157019
|
| |
|
|
|
|
| |
Patch by Meador Inge.
llvm-svn: 156989
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
llc to recognize MIPS16 as a MIPS ASE extension. -mips16 will mean the
mips16 ASE for mips32 by default.
As part of fixing of adding this we discovered some small changes that
need to be made to MipsInstrInfo::storeRegToStackSLot and
MipsInstrInfo::loadRegFromStackSlot. We were using some "==" equality tests
where in fact we should have been using Mips::<regclas>.hasSubClassEQ instead,
per suggestion of Jakob Stoklund Olesen.
Patch by Reed Kotler.
llvm-svn: 156958
|
| |
|
|
| |
llvm-svn: 156917
|
| |
|
|
|
|
| |
rdar://11451474
llvm-svn: 156896
|
| |
|
|
|
|
|
|
| |
Add the MCRegisterInfo to the factories and constructors.
Patch by Tom Stellard <Tom.Stellard@amd.com>.
llvm-svn: 156828
|
| |
|
|
|
|
| |
resolved.
llvm-svn: 156801
|
| |
|
|
| |
llvm-svn: 156791
|
| |
|
|
|
|
|
|
|
|
| |
The purpose of this option is to silence error messages issued by machine
verifier passes and enable them to run to the end. If this option is not
provided, -verify-machineinstrs complains when it discovers there is a
non-terminator instruction (an instruction that is in a delay slot) after the
first terminator in a basic block.
llvm-svn: 156790
|
| |
|
|
|
|
| |
Found by GCC's maybe-uninitialized.
llvm-svn: 156780
|
| |
|
|
| |
llvm-svn: 156775
|
| |
|
|
| |
llvm-svn: 156774
|
| |
|
|
|
|
| |
Found by valgrind.
llvm-svn: 156744
|
| |
|
|
| |
llvm-svn: 156700
|
| |
|
|
| |
llvm-svn: 156698
|
| |
|
|
| |
llvm-svn: 156696
|
| |
|
|
|
|
|
|
|
| |
the ones that get or set the frame index for the $gp save slot.
Remove the piece of code in MipsFunctionInfo::getGlobalBaseReg() which returns
GP. This function should always return a virtual register.
llvm-svn: 156695
|
| |
|
|
|
|
| |
is the $gp save slot.
llvm-svn: 156694
|
| |
|
|
| |
llvm-svn: 156693
|