- Sep 13, 2012
-
-
Chad Rosier authored
llvm-svn: 163737
-
Owen Anderson authored
Remove an overly-aggressive assertion. The code following this assertion already knows how to handle the case where DstRC was NULL, so it's not actually protecting us from anything, and this pattern can come up when using unknown_class operands in the SelectionDAG. llvm-svn: 163736
-
Jakob Stoklund Olesen authored
llvm-svn: 163735
-
Eric Christopher authored
This should be done on the subprogram, not the variable itself. llvm-svn: 163734
-
Eric Christopher authored
this should be done on the subprogram, not the variable. llvm-svn: 163733
-
Chad Rosier authored
llvm-svn: 163731
-
Chad Rosier authored
llvm-svn: 163730
-
Chad Rosier authored
llvm-svn: 163729
-
Chad Rosier authored
MCOperands then iterate over all of then when computing clobbers, inputs and outputs. On x86 the 1-to-many mapping is a memory operand that includes a BaseReg(reg), MemScale(imm), MemIndexReg(reg), an Expr(MCExpr or imm) and a MemSegReg(reg). Invalid register (Op.getReg() == 0) are not considered when computing clobber. llvm-svn: 163728
-
Jim Grosbach authored
llvm-svn: 163726
-
Filipe Cabecinhas authored
llvm-svn: 163725
-
Manman Ren authored
to the default target. llvm-svn: 163724
-
Dmitri Gribenko authored
llvm-svn: 163723
-
Dmitri Gribenko authored
llvm-svn: 163722
-
Dmitri Gribenko authored
llvm-svn: 163721
-
Ted Kremenek authored
We plan on discussing this more, but we shouldn't have it in the compiler in an incomplete state. llvm-svn: 163720
-
Ted Kremenek authored
We plan on discussing this more. llvm-svn: 163719
-
David Blaikie authored
Matches the same typo fix in clang's lit.cfg that this was copy/pasted from. (original fix to clang's lit.cfg in r163696) llvm-svn: 163718
-
- Sep 12, 2012
-
-
Alexander Potapenko authored
llvm-svn: 163717
-
Alexander Potapenko authored
Fix a warning in macros instantiation. llvm-svn: 163716
-
Roman Divacky authored
was fixed in r163713. llvm-svn: 163715
-
Alexander Potapenko authored
llvm-svn: 163714
-
Roman Divacky authored
This patch corrects logic in PPCFrameLowering for save and restore of nonvolatile condition register fields across calls under the SVR4 ABIs. * With the 64-bit ABI, the save location is at a fixed offset of 8 from the stack pointer. The frame pointer cannot be used to access this portion of the stack frame since the distance from the frame pointer may change with alloca calls. * With the 32-bit ABI, the save location is just below the general register save area, and is accessed via the frame pointer like the rest of the save areas. This is an optional slot, so it must only be created if any of CR2, CR3, and CR4 were modified. * For both ABIs, save/restore logic is generated only if one of the nonvolatile CR fields were modified. I also took this opportunity to clean up an extra FIXME in PPCFrameLowering.h. Save area offsets for 32-bit GPRs are meaningless for the 64-bit ABI, so I removed them for correctness and efficiency. Fixes PR13708 and partially also PR13623. It lets us enable exception handling on PPC64. Patch by William J. Schmidt! llvm-svn: 163713 -
Filipe Cabecinhas authored
llvm-svn: 163712
-
Roman Divacky authored
llvm-svn: 163710
-
NAKAMURA Takumi authored
llvm-svn: 163709
-
NAKAMURA Takumi authored
clang/test/CodeGen/2008-01-25-ZeroSizedAggregate.c: [PR8833] Add REQUIRES: LP64. It fails with +Asserts for Win64. llvm-svn: 163708
-
Alexander Potapenko authored
Fix compiler warnings: remove __attribute__((visibility)) for static functions, use unsigned char instead of char. llvm-svn: 163707
-
Alexey Samsonov authored
llvm-svn: 163706
-
Joerg Sonnenberger authored
active. llvm-svn: 163705
-
Alexey Samsonov authored
llvm-svn: 163704
-
Kristof Beyls authored
Fix constant folding through bitcasts by no longer relying on undefined behaviour (converting NaN values between float and double). SelectionDAG::getConstantFP(double Val, EVT VT, bool isTarget); should not be used when Val is not a simple constant (as the comment in SelectionDAG.h indicates). This patch avoids using this function when folding an unknown constant through a bitcast, where it cannot be guaranteed that Val will be a simple constant. llvm-svn: 163703
-
Nadav Rotem authored
Add a flag to disable the code that looks for allocas which escaped the lifetime regions. This is useful for debugging. No testcase because without this check we fail on assertions when finding escaped allocas. llvm-svn: 163702
-
NAKAMURA Takumi authored
llvm-svn: 163701
-
NAKAMURA Takumi authored
llvm-svn: 163700
-
NAKAMURA Takumi authored
I think some of them could be rewritten to fit also LLP64. llvm-svn: 163699
-
Alexey Samsonov authored
llvm-svn: 163698
-
NAKAMURA Takumi authored
%t.h might be touched by scanners as a hot file on Windows, to fail to remove %.h with single run. llvm-svn: 163697
-
NAKAMURA Takumi authored
llvm-svn: 163696
-
James Molloy authored
Add a function computeRegisterLiveness() to MachineBasicBlock. This uses analyzePhysReg() from r163694 to heuristically try and determine the liveness state of a physical register upon arrival at a particular instruction in a block. The search for liveness is clipped to a specific number of instructions around the target MachineInstr, in order to avoid degenerating into an O(N^2) algorithm. It tries to use various clues about how instructions around (both before and after) a given MachineInstr use that register, to determine its state at the MachineInstr. llvm-svn: 163695
-