- Jul 20, 2012
-
-
Chad Rosier authored
assembly. By default, we don't emit IR for MS-style inline assembly (see r158833 as to why). This is strictly for testing purposes and should not be enabled with the expectation that things will work. This is a temporary flag and will be removed once MS-style inline assembly is fully supported. llvm-svn: 160573
-
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
-
Aaron Ballman authored
No longer assuming the number of prototype arguments is always less than the number of formal parameters for a variadic function call. llvm-svn: 160570
-
Dmitri Gribenko authored
The assertion was wrong in case we have a verbatim block without a closing command. Also add tests for closing command name in a verbatim block, since now it can be empty in such cases. llvm-svn: 160568
-
Benjamin Kramer authored
llvm-svn: 160567
-
Howard Hinnant authored
llvm-svn: 160566
-
Howard Hinnant authored
llvm-svn: 160565
-
Howard Hinnant authored
llvm-svn: 160564
-
Howard Hinnant authored
llvm-svn: 160563
-
Howard Hinnant authored
llvm-svn: 160562
-
Jordan Rose authored
This time, make sure we don't try to print fixits with newline characters, since they don't have a valid column width, and they don't look good anyway. PR13417 (and originally <rdar://problem/11877454>) llvm-svn: 160561
-
Jordan Rose authored
The CFG creates dummy DeclStmts with one Decl per statement, and it has to do so from last to first in order to build the graph correctly. llvm-svn: 160560
-
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
-
Eric Christopher authored
rdar://11842763 llvm-svn: 160554
-
Sylvestre Ledru authored
llvm-svn: 160553
-
Fariborz Jahanian authored
of c-functions nested in namespace in method implementations by turning off its delayed parsing until a proper solution is figured out. pr13418 llvm-svn: 160552
-
Dmitri Gribenko authored
llvm-svn: 160551
-
Dmitri Gribenko authored
paragraph. llvm-svn: 160550
-
NAKAMURA Takumi authored
llvm-svn: 160549
-
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
-
Nico Weber authored
llvm-svn: 160542
-
Nico Weber authored
Fixes PR13413, -Wunused-private-field now warns on unused fields initialized to NULL. llvm-svn: 160541
-
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
-
Jason Molenda authored
char*'s - Greg removed the methods which accept char*'s earlier today. llvm-svn: 160539
-
Nico Weber authored
make it match the flag it tests. llvm-svn: 160536
-
Chandler Carruth authored
FileCheck. This avoids copying files around needlessly during test runs. llvm-svn: 160535
-
Chandler Carruth authored
clients to default text files to 'eol-native'. llvm-svn: 160534
-
Nick Lewycky authored
llvm-svn: 160532
-
Pete Cooper authored
llvm-svn: 160531
-
Anna Zaks authored
same implementation for call evaluation. llvm-svn: 160530
-
Nick Lewycky authored
memory. This makes clang play nice with leak checkers. llvm-svn: 160529
-
Eric Christopher authored
llvm-svn: 160528
-
Eric Christopher authored
previous ResetObjCLayout calls since this is now handled in Sema. Part of rdar://11842763 llvm-svn: 160527
-
Eric Christopher authored
or implementation since we've now got a different layout. Fixes rdar://11842763 llvm-svn: 160526
-