- Aug 06, 2013
-
-
Alexey Samsonov authored
Store compile unit corresponding to each chain of inlined debug info entries. No functionality change. llvm-svn: 187792
-
Elena Demikhovsky authored
fix for: Bug 16694 - ExecutionEngine/test-interp-vec-loadstore.ll failing on powerpc-darwin8 (http://llvm.org/bugs/show_bug.cgi?id=16694) The ExecutionEngine/test-interp-vec-loadstore.ll test has been failing on powerpc-darwin8 (on other platforms it passed) the reason of fail was wrong output by printf. this output is checked by FileCheck, but on little-endian powerpc the output numeric data were printed inside out and FileCheck reported fail. the printfs have been replaced by checking data inside test and numeric output has been replaced by the text output like : "int test passed, float test passed". The text output is checked by FileCheck. the dependency on data layout has been removed. done by Yuri Veselov (Intel) llvm-svn: 187791
-
Alexey Samsonov authored
llvm-svn: 187790
-
Evgeniy Stepanov authored
llvm-svn: 187789
-
Evgeniy Stepanov authored
llvm-svn: 187788
-
Tim Northover authored
This change came about primarily because of two issues in the existing code. Niether of: define i64 @test1(i64 %val) { %in = trunc i64 %val to i32 tail call i32 @ret32(i32 returned %in) ret i64 %val } define i64 @test2(i64 %val) { tail call i32 @ret32(i32 returned undef) ret i32 42 } should be tail calls, and the function sameNoopInput is responsible. The main problem is that it is completely symmetric in the "tail call" and "ret" value, but in reality different things are allowed on each side. For these cases: 1. Any truncation should lead to a larger value being generated by "tail call" than needed by "ret". 2. Undef should only be allowed as a source for ret, not as a result of the call. Along the way I noticed that a mismatch between what this function treats as a valid truncation and what the backends see can lead to invalid calls as well (see x86-32 test case). This patch refactors the code so that instead of being based primarily on values which it recurses into when necessary, it starts by inspecting the type and considers each fundamental slot that the backend will see in turn. For example, given a pathological function that returned {{}, {{}, i32, {}}, i32} we would consider each "real" i32 in turn, and ask if it passes through unchanged. This is much closer to what the backend sees as a result of ComputeValueVTs. Aside from the bug fixes, this eliminates the recursion that's going on and, I believe, makes the bulk of the code significantly easier to understand. The trade-off is the nasty iterators needed to find the real types inside a returned value. llvm-svn: 187787
-
Serge Pavlov authored
llvm-svn: 187786
-
Larisse Voufo authored
llvm-svn: 187785
-
Larisse Voufo authored
llvm-svn: 187784
-
Craig Topper authored
llvm-svn: 187783
-
Richard Smith authored
expression, truncate the stored value to the size of the bitfield. llvm-svn: 187782
-
Craig Topper authored
llvm-svn: 187781
-
NAKAMURA Takumi authored
Target/*/CMakeLists.txt: Add the dependency to CommonTableGen explicitly for each corresponding CodeGen. Without explicit dependencies, both per-file action and in-CommonTableGen action could run in parallel. It races to emit *.inc files simultaneously. llvm-svn: 187780
-
Craig Topper authored
llvm-svn: 187779
-
NAKAMURA Takumi authored
llvm-svn: 187778
-
NAKAMURA Takumi authored
llvm-svn: 187777
-
Larisse Voufo authored
Removed hack that was used to properly restore the nested name specifier of qualified variable template ids. It turns out that the current implementation was just not logical setup for it. This commit has made it so. llvm-svn: 187776
-
Craig Topper authored
Put an llvm_unreachable at the end of getSplatIndex as its loop should never find all undef elements. llvm-svn: 187775
-
Craig Topper authored
Check against >= 0 instead of != -1 in getSplatIndex because it generally compiles to better code and is equivalent for shuffle indices. llvm-svn: 187774
-
Craig Topper authored
llvm-svn: 187773
-
Tobias Grosser authored
Contributed-by:
Star Tan <tanmx_star@yeah.net> llvm-svn: 187772
-
Craig Topper authored
llvm-svn: 187771
-
Larisse Voufo authored
Fixing commit r187768: Moved diagnosis of forward declarations of variable templates from Parser to Sema. llvm-svn: 187770
-
Richard Trieu authored
comparing non-reference function parameters. The qualifiers don't matter for comparisons. llvm-svn: 187769
-
Larisse Voufo authored
llvm-svn: 187768
-
NAKAMURA Takumi authored
I met a message, "fatal error: file 'nul' modified since it was first processed". llvm-svn: 187767
-
NAKAMURA Takumi authored
FIXME: Would '0' be an appropriate value in SequenceNumber? llvm-svn: 187766
-
NAKAMURA Takumi authored
llvm-svn: 187765
-
Tom Stellard authored
Patch by: Mei Ye llvm-svn: 187764
-
Eric Christopher authored
llvm-svn: 187763
-
Larisse Voufo authored
Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... llvm-svn: 187762
-
Shuxin Yang authored
llvm-svn: 187761
-
Hans Wennborg authored
These are used to specify source files, and whether to treat source files as C or C++. Differential Revision: http://llvm-reviews.chandlerc.com/D1290 llvm-svn: 187760
-
John Thompson authored
llvm-svn: 187759
-
Matt Arsenault authored
llvm-svn: 187758
-
John Thompson authored
llvm-svn: 187757
-
Bill Wendling authored
llvm-svn: 187756
-
Bill Wendling authored
llvm-svn: 187755
-
Tom Stellard authored
llvm-svn: 187754
-
David Majnemer authored
There were three things missing from the original implementation: - We would omit the 'E' qualifier for members int 64-bit mode. - We would not exmaine the qualifiers in 'IsMember' mode. - We didn't generate the correct backref to the base class. llvm-svn: 187753
-