- Jul 21, 2012
-
-
Akira Hatanaka authored
llvm-svn: 160599
-
Akira Hatanaka authored
llvm-svn: 160598
-
Akira Hatanaka authored
Test case will be added later when long branch patch is checked in. llvm-svn: 160597
-
Nuno Lopes authored
baby steps toward fixing some problems with inbound GEPs that overflow, as discussed 2 months ago or so. Make sure we do not emit index computations with NSW flags so that we dont get an undef value if the GEP overflows llvm-svn: 160589
-
Nuno Lopes authored
move the bounds checking pass to the instrumentation folder, where it belongs. I dunno why in the world I dropped it in the Scalar folder in the first place. No functionality change. llvm-svn: 160587
-
Benjamin Kramer authored
Remove unused private member variables uncovered by the recent changes to clang's -Wunused-private-field. llvm-svn: 160583
-
- Jul 20, 2012
-
-
Galina Kistanova authored
llvm-svn: 160576
-
Jakob Stoklund Olesen authored
LiveRangeEdit::foldAsLoad() can eliminate a register by folding a load into its only use. Only do that when the load is safe to move, and it won't extend any live ranges. This fixes PR13414. llvm-svn: 160575
-
Chandler Carruth authored
CI's name, and then used the StringRef pointing at its old name. I'm fixing it by storing the name in a std::string, and hoisting the renaming logic to happen always. This is nicer anyways as it will allow the upgraded IR to have the same names as the input IR in more cases. Another bug found by AddressSanitizer. Woot. llvm-svn: 160572
-
Jakob Stoklund Olesen authored
PHIElimination splits critical edges when it predicts it can resolve interference and eliminate copies. It doesn't split the edge if the interference wouldn't be resolved anyway because the phi-use register is live in the critical edge anyway. Teach PHIElimination to split loop exiting edges with interference, even if it wouldn't resolve the interference. This removes the necessary copies from the loop, which is still an improvement from injecting the copies into the loop. The test case demonstrates the improvement. Before: LBB0_1: cmpb $0, (%rdx) leaq 1(%rdx), %rdx movl %esi, %eax je LBB0_1 After: LBB0_1: cmpb $0, (%rdx) leaq 1(%rdx), %rdx je LBB0_1 movl %esi, %eax llvm-svn: 160571
-
Benjamin Kramer authored
llvm-svn: 160567
-
Daniel Dunbar authored
color. llvm-svn: 160559
-
Daniel Dunbar authored
llvm-svn: 160558
-
Daniel Dunbar authored
llvm-svn: 160557
-
Daniel Dunbar authored
subprocesses. llvm-svn: 160556
-
Richard Osborne authored
GetBestDestForJumpOnUndef() assumes there is at least 1 successor, which isn't true if the block ends in an indirect branch with no successors. Fix this by bailing out earlier in this case. llvm-svn: 160546
-
Kostya Serebryany authored
[asan] make sure that the crash callbacks do not get merged (Chandler's idea: insert an empty InlineAsm). Change the order in which the new BBs are inserted: the slow path BB is insert between old BBs, the crash BB is inserted at the end. Don't create an empty BB (introduced by recent commits). Update the test. The experimental code that does manual crash callback merge will most likely be deleted later. llvm-svn: 160544
-
Craig Topper authored
Don't use implicit register operands to calculate L-bit for AVX instructions. Needed because super reg defs and kills are added as implicit operands on 128-bit instructions. Fixes PR13349. Patch by Jose Fonseca. llvm-svn: 160543
-
Owen Anderson authored
Make RegisterOperand a subclass of DAGOperand so that RegisterOperands can be passed into multiclasses that take DAGOperands as multiclass parameters. llvm-svn: 160540
-
Nick Lewycky authored
llvm-svn: 160532
-
Pete Cooper authored
llvm-svn: 160531
-
Nick Lewycky authored
memory. This makes clang play nice with leak checkers. llvm-svn: 160529
-
- Jul 19, 2012
-
-
Galina Kistanova authored
llvm-svn: 160525
-
Preston Gurd authored
Atom buildbot will auto-detect Atom. llvm-svn: 160521
-
Preston Gurd authored
processor. Patches by Tyler Nowicki, Andy Zhang, and Preston Gurd! llvm-svn: 160520
-
Sebastian Pop authored
This fixes a bunch of make check failures of the form: Unknown Architecture Version. UNREACHABLE executed at ../lib/Target/Hexagon/HexagonSubtarget.cpp:60! llvm-svn: 160518
-
Nuno Lopes authored
It is optimal at least up to 7 bits (I've tested all such cases) This change to truncate() allows a little simplification to the multiplication code, and it also makes multiplication optimal :) llvm-svn: 160512
-
Benjamin Kramer authored
llvm-svn: 160507
-
NAKAMURA Takumi authored
test/DebugInfo/dwarfdump-test.test: Tweak expressions for Win32 to match backslashes. They are still odd, though. For example, Paths are printed on Win32 as below; /tmp/dbginfo\def2.cc:4:0 /tmp/dbginfo\include\decl2.h:1:0 /tmp/include\decl.h:5:0 llvm-svn: 160505
-
Benjamin Kramer authored
No functionality change. llvm-svn: 160501
-
Jush Lu authored
llvm-svn: 160500
-
Alexey Samsonov authored
(instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool. Reviewed by Benjamin Kramer. llvm-svn: 160496
-
Galina Kistanova authored
llvm-svn: 160493
-
Bill Wendling authored
llvm-svn: 160483
-
Bill Wendling authored
llvm-svn: 160482
-
Bill Wendling authored
llvm-svn: 160480
-
Bill Wendling authored
llvm-svn: 160479
-
Chad Rosier authored
llvm-svn: 160478
-
Bill Wendling authored
llvm-svn: 160477
-
Bill Wendling authored
llvm-svn: 160476
-