- Nov 01, 2012
-
-
Shuxin Yang authored
The adc/sbb optimization is to able to convert following expression into a single adc/sbb instruction: (ult) ... = x + 1 // where the ult is unsigned-less-than comparison (ult) ... = x - 1 This change is to flip the "x >u y" (i.e. ugt comparison) in order to expose the adc/sbb opportunity. llvm-svn: 167180
-
Filipe Cabecinhas authored
llvm-svn: 167179
-
- Oct 31, 2012
-
-
Anna Zaks authored
Thanks Ted. llvm-svn: 167176
-
Greg Clayton authored
llvm-svn: 167175
-
Nadav Rotem authored
llvm-svn: 167174
-
Chad Rosier authored
matching works correctly. Part of rdar://12329974 llvm-svn: 167173
-
Argyrios Kyrtzidis authored
The stat cache became essentially useless ever since we started validating all file entries in the PCH. But the motivating reason for removing it now is that it also affected correctness in this situation: -You have a header without include guards (using "#pragma once" or #import) -When creating the PCH: -The same header is referenced in an #include with different filename cases. -In the PCH, of course, we record only one file entry for the header file -But we cache in the PCH file the stat info for both filename cases -Then the source files are updated and the header file is updated in a way that its size and modification time are the same but its inode changes -When using the PCH: -We validate the headers, we check that header file and we create a file entry with its current inode -There's another #include with a filename with different case than the previously created file entry -In order to get its stat info we go through the cached stat info of the PCH and we receive the old inode -because of the different inodes, we think they are different files so we go ahead and include its contents. Removing the stat cache will potentially break clients that are attempting to use the stat cache as a way of avoiding having the actual input files available. If that use case is important, patches are welcome to bring it back in a way that will actually work correctly (i.e., emit a PCH that is self-contained, coping with literal strings, line/column computations, etc.). This fixes rdar://5502805 llvm-svn: 167172
-
Greg Clayton authored
llvm-svn: 167171
-
Nadav Rotem authored
llvm-svn: 167170
-
Greg Clayton authored
llvm-svn: 167168
-
Greg Clayton authored
Carlo Kok found an issue where default parameters were causing the wrong argument to be passed. I got rid of the default args so we don't run into this. llvm-svn: 167167
-
Michael J. Spencer authored
cl is not attempting to complete a templated class when used in this context. The conversion forces this to happen. Thanks to Richard Smith for figuring this out. llvm-svn: 167166
-
Michael J. Spencer authored
llvm-svn: 167165
-
Andrew Kaylor authored
llvm-svn: 167164
-
Michael Gottesman authored
[clang tests] Added require ppc64-registered-target to Headers/altivec-header.c to ensure it only runs on ppc64. llvm-svn: 167162
-
Chad Rosier authored
that matching works correctly. Part of rdar://12329974 llvm-svn: 167161
-
Greg Clayton authored
Patch for issue found by Carlo Kok. Fixed a type issue where an ';' was incorrectly following an if statement. There actually isn't a need for the if statement, so it was removed. llvm-svn: 167160
-
Manman Ren authored
According to the spec, we can backfill VFP registers that were skipped due to alignment constraints. llvm-svn: 167159
-
Chad Rosier authored
-target option. rdar://10692880 llvm-svn: 167158
-
Rafael Espindola authored
llvm-svn: 167157
-
Rafael Espindola authored
I will remove it from llvm in the next commit. llvm-svn: 167156
-
Alexander Kornienko authored
Summary: -ast-dump-filter implementation used to stop AST traversal after traversing a NULL Decl node. Added test and fixed. Reviewers: djasper, klimek, rsmith Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D93 llvm-svn: 167155
-
Akira Hatanaka authored
re-materialization of immediate loads. llvm-svn: 167153
-
Chad Rosier authored
diagnostics script. This addresses the FIXME pertaining to quoted arguments. We also delineate between those flags that have an argument (e.g., -D macro, -MF file) and those that do not (e.g., -M, -MM, -MG). Finally, we add the -dwarf-debug-flags to the list of flags to be removed. rdar://12329974 llvm-svn: 167152
-
Ulrich Weigand authored
llvm-svn: 167148
-
Amara Emerson authored
MCJIT unit test: add calls to ensure that instruction caches are properly invalidated before code execution. llvm-svn: 167146
-
Amara Emerson authored
llvm-svn: 167145
-
Amara Emerson authored
llvm-svn: 167144
-
Bill Schmidt authored
test/CodeGenCXX/member-alignment.cpp. The test succeeds for powerpc64-unknown-linux-gnu. If other flavors of powerpc are shown by buildbots to still be broken, we can adjust the test at that time. llvm-svn: 167143
-
Argyrios Kyrtzidis authored
without using tentative parsing. llvm-svn: 167142
-
Argyrios Kyrtzidis authored
add a test to make sure code-completion skips bodies. llvm-svn: 167141
-
Arnold Schwaighofer authored
We no longer have a tail duplication pass that runs on LLVM IR. It was removed in 3.0. llvm-svn: 167140
-
Akira Hatanaka authored
mips16. llvm-svn: 167139
-
Jordan Rose authored
Previously, every call to a ConstraintManager's isNull would do a full assumeDual to test feasibility. Now, ConstraintManagers can override checkNull if they have a cheaper way to do the same thing. RangeConstraintManager can do this in less than half the work. <rdar://problem/12608209> llvm-svn: 167138
-
Eli Bendersky authored
llvm-svn: 167137
-
Benjamin Kramer authored
- Use value handle tricks to communicate use replacements instead of forgetLoop, this is a lot faster. - Move the "big hammer" out of the main loop so it's not called for every instruction. This should recover most (if not all) compile time regressions introduced by this code. llvm-svn: 167136
-
Nadav Rotem authored
llvm-svn: 167134
-
Ulrich Weigand authored
These tests were all failing since the old JIT doesn't work for PowerPC (any more), and there are no plans to attempt to fix it again (instead, work focuses on MCJIT). llvm-svn: 167133
-
Hans Wennborg authored
SimplifyCFG will have removed those cases for us. llvm-svn: 167132
-
Nadav Rotem authored
llvm-svn: 167131
-