- Jan 30, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 149220
-
- Jan 28, 2012
-
-
James Molloy authored
Fixes PR11877 llvm-svn: 149180
-
Rafael Espindola authored
llvm-svn: 149175
-
Rafael Espindola authored
messages and allows us to fix PR11865. llvm-svn: 149174
-
Rafael Espindola authored
width. llvm-svn: 149151
-
- Jan 27, 2012
-
-
Rafael Espindola authored
Unfortunately I also had to disable constant-pool-sharing.ll the code it tests has been updated to use the IL logic. llvm-svn: 149148
-
Devang Patel authored
llvm-svn: 149142
-
Matt Beaumont-Gay authored
llvm-svn: 149115
-
Chris Lattner authored
ConstantVector's to integer type. llvm-svn: 149110
-
Lang Hames authored
llvm-svn: 149097
-
- Jan 26, 2012
-
-
Jakob Stoklund Olesen authored
The Win64 calling convention has xmm6-15 as callee-saved while still clobbering all ymm registers. Add a YMM_HI_6_15 pseudo-register that aliases the clobbered part of the ymm registers, and mark that as call-clobbered. This allows live xmm registers across calls. This hack wouldn't be necessary with RegisterMask operands representing the call clobbers, but they are not quite operational yet. llvm-svn: 149088
-
Chad Rosier authored
MachineBasicBlock::canFallThrough(). We're interested in the state of the instruction (i.e., is this a barrier or not?), not if the instruction is predicable or not. rdar://10501092 llvm-svn: 149070
-
Jakob Stoklund Olesen authored
The live range of the source register may be extended when a redundant copy is eliminated. Make sure any kill flags between the two copies are cleared. This fixes PR11765. llvm-svn: 149069
-
James Molloy authored
Add support for the R_ARM_TARGET1 relocation, which should be given to relocations applied to all C++ constructors and destructors. This enables the linker to match concrete relocation types (absolute or relative) with whatever library or C++ support code is being linked against. llvm-svn: 149057
-
Victor Umansky authored
. "fptosi" and "fptoui" IR instructions are defined with round-to-zero rounding mode. . Currently for AVX mode for <4xdouble> and <8xdouble> the "VCVTPD2DQ.128" and "VCVTPD2DQ.256" instructions are selected (for .fp_to_sint. DAG node operation ) by AVX codegen. However they use round-to-nearest-even rounding mode. . Consequently, the conversion produces incorrect numbers. The fix is to replace selection of VCVTPD2DQ instructions with VCVTTPD2DQ instructions. The latter use truncate (i.e. round-to-zero) rounding mode. As .fp_to_sint. DAG node operation is used only for lowering of "fptosi" and "fptoui" IR instructions, the fix in X86InstrSSE.td definition file doesn.t have an impact on other LLVM flows. The patch includes changes in the .td file, LIT test for the changes and a fix in a legacy LIT test (which produced asm code conflicting with LLVN IR spec). llvm-svn: 149056
-
Jakob Stoklund Olesen authored
This boils down to using MachineOperand::readsReg() more. This fixes PR11829 where a use ended up after the first def when lowering REG_SEQUENCE instructions involving IMPLICIT_DEFs. llvm-svn: 148996
-
- Jan 25, 2012
-
-
Anton Korobeynikov authored
and let linker handle the rest. This finally fixes PR5329 llvm-svn: 148990
-
Jim Grosbach authored
"Although a Thumb2 instruction, the IT mnemonic shall be permitted in ARM mode, and the condition verified to match the condition code(s) on the following instruction(s)." PR11853 llvm-svn: 148969
-
Nick Lewycky authored
savings from a pointer argument becoming an alloca. Sometimes callees will even compare a pointer to null and then branch to an otherwise unreachable block! Detect these cases and compute the number of saved instructions, instead of bailing out and reporting no savings. llvm-svn: 148941
-
Akira Hatanaka authored
- Use MipsAnalyzeImmediate to expand immediates that do not fit in 16-bit. - Change the types of variables so that they are sufficiently large to handle 64-bit pointers. - Emit instructions to set register $28 in a function prologue after instructions which store callee-saved registers have been emitted. llvm-svn: 148917
-
Akira Hatanaka authored
Add a test case to show fewer instructions are needed to load an immediate with the new way of loading immediates. llvm-svn: 148908
-
Jim Grosbach authored
llvm-svn: 148884
-
Jim Grosbach authored
llvm-svn: 148882
-
Jakob Stoklund Olesen authored
A REG_SEQUENCE instruction is lowered into a sequence of partial defs: %vreg7:ssub_0<def,undef> = COPY %vreg20:ssub_0 %vreg7:ssub_1<def> = COPY %vreg2 %vreg7:ssub_2<def> = COPY %vreg2 %vreg7:ssub_3<def> = COPY %vreg2 The first def needs an <undef> flag to indicate it is the beginning of the live range, while the other defs are read-modify-write. Previously, we depended on LiveIntervalAnalysis to notice and fix the missing <def,undef>, but that solution was never robust, it was causing problems with ProcessImplicitDefs and the lowering of chained REG_SEQUENCE instructions. This fixes PR11841. llvm-svn: 148879
-
- Jan 24, 2012
-
-
Akira Hatanaka authored
llvm-svn: 148869
-
Jim Grosbach authored
When not using subsections via symbols, the assembler can resolve symbol differences (including pcrel references) to non-local labels at assembly time, not just those in the same atom. llvm-svn: 148865
-
Devang Patel authored
llvm-svn: 148864
-
Akira Hatanaka authored
llvm-svn: 148862
-
Kostya Serebryany authored
llvm-svn: 148846
-
Jim Grosbach authored
llvm-svn: 148836
-
Jim Grosbach authored
llvm-svn: 148832
-
Jakob Stoklund Olesen authored
This will interleave the elements from two or more lists. llvm-svn: 148824
-
Jim Grosbach authored
llvm-svn: 148821
-
Jim Grosbach authored
llvm-svn: 148820
-
Jim Grosbach authored
llvm-svn: 148819
-
Jim Grosbach authored
llvm-svn: 148818
-
Jim Grosbach authored
llvm-svn: 148817
-
Elena Demikhovsky authored
v8i16 -> v8i32, v4i32 -> v4i64 - used vpunpck* instructions. llvm-svn: 148803
-
Evgeniy Stepanov authored
This change adds an new option --arm-enable-ehabi-descriptors that enables emitting unwinding descriptors. This provides a mode with a working backtrace() without the (currently broken) exception support. llvm-svn: 148800
-
Eric Christopher authored
rdar://10278198 llvm-svn: 148795
-