- Jun 27, 2013
-
-
Arnold Schwaighofer authored
Otherwise, we end up with an exponential IR blowup. Fixes PR16472. llvm-svn: 185097
-
Chad Rosier authored
llvm-svn: 185096
-
Michael Gottesman authored
[APFloat] Removed APFloat constructor which initialized to either zero/NaN but allowed you to arbitrarily set the category of the float. The category which an APFloat belongs to should be dependent on the actual value that the APFloat has, not be arbitrarily passed in by the user. This will prevent inconsistency bugs where the category and the actual value in APFloat differ. I also fixed up all of the references to this constructor (which were only in LLVM). llvm-svn: 185095
-
Chad Rosier authored
algorithm when assigning EnumValues to the synthesized registers. The current algorithm, LessRecord, uses the StringRef compare_numeric function. This function compares strings, while handling embedded numbers. For example, the R600 backend registers are sorted as follows: T1 T1_W T1_X T1_XYZW T1_Y T1_Z T2 T2_W T2_X T2_XYZW T2_Y T2_Z In this example, the 'scaling factor' is dEnum/dN = 6 because T0, T1, T2 have an EnumValue offset of 6 from one another. However, in other parts of the register bank, the scaling factors are different: dEnum/dN = 5: KC0_128_W KC0_128_X KC0_128_XYZW KC0_128_Y KC0_128_Z KC0_129_W KC0_129_X KC0_129_XYZW KC0_129_Y KC0_129_Z The diff lists do not work correctly because different kinds of registers have different 'scaling factors'. This new algorithm, LessRecordRegister, tries to enforce a scaling factor of 1. For example, the registers are now sorted as follows: T1 T2 T3 ... T0_W T1_W T2_W ... T0_X T1_X T2_X ... KC0_128_W KC0_129_W KC0_130_W ... For the Mips and R600 I see a 19% and 6% reduction in size, respectively. I did see a few small regressions, but the differences were on the order of a few bytes (e.g., AArch64 was 16 bytes). I suspect there will be even greater wins for targets with larger register files. Patch reviewed by Jakob. rdar://14006013 llvm-svn: 185094
-
Howard Hinnant authored
llvm-svn: 185093
-
John Thompson authored
llvm-svn: 185092
-
Rafael Espindola authored
* Use a single stat to find out if the file exists and if it is a regular file. * Use early returns when possible. * Add comments explaining why we have each check. llvm-svn: 185091
-
Greg Clayton authored
llvm-svn: 185089
-
Sean Callanan authored
the time when the IRInterpreter ran inside IRForTarget. llvm-svn: 185088
-
Argyrios Kyrtzidis authored
Because Registry.h is using the LLVM_DELETED_FUNCTION macro. llvm-svn: 185087
-
Nadav Rotem authored
llvm-svn: 185086
-
Nadav Rotem authored
CostModel: improve the cost model for load/store of non power-of-two types such as <3 x float>, which are popular in graphics. llvm-svn: 185085
-
Tom Stellard authored
The purpose of this test was to check boundary conditions for the size of an ALU clause. This test is very sensitive to changes to the optimizer or scheduler, because it requires an exact number of ALU instructions in order to remain valid. It's not good to have a test this sensitive, because it is confusing to developers who implement optimizations and then 'break' the test. I'm not sure if there is a good way to test these limits using lit, but if I can come up with replacement test that isn't as sensitive I'll add it back to the tree. llvm-svn: 185084
-
Sergey Matveev authored
llvm-svn: 185082
-
Arnold Schwaighofer authored
Use vectorized instruction instead of original instruction anchored in the original loop. Fixes PR16452 and t2075.c of PR16455. llvm-svn: 185081
-
Serge Pavlov authored
It fixes PR16338 (ICE when compiling very large two-dimensional array). Differential Revision: http://llvm-reviews.chandlerc.com/D1043 llvm-svn: 185080
-
Sergey Matveev authored
llvm-svn: 185079
-
Dmitry Vyukov authored
full proper list of dynamic symbols crashes old gold (see bug 16468). the culprit is 'memcpy' function, if it's added to syms file, gold crashes llvm-svn: 185078
-
Dmitry Vyukov authored
llvm-svn: 185077
-
Evgeniy Stepanov authored
llvm-svn: 185076
-
Joey Gouly authored
llvm-svn: 185075
-
Joey Gouly authored
llvm-svn: 185073
-
Benjamin Kramer authored
llvm-svn: 185072
-
Benjamin Kramer authored
llvm-svn: 185071
-
Richard Sandiford authored
llvm-svn: 185070
-
Richard Sandiford authored
llvm-svn: 185069
-
Richard Sandiford authored
llvm-svn: 185068
-
Evgeniy Stepanov authored
The new version reads d_reclen for (struct dirent) size. llvm-svn: 185067
-
Alexey Samsonov authored
llvm-svn: 185066
-
Richard Sandiford authored
Add pseudo conditional store instructions, so that we use: branch foo: store foo: instead of: load branch foo: move foo: store z196 has real 32-bit and 64-bit conditional stores, but we don't use any z196 instructions yet. llvm-svn: 185065
-
Kostya Serebryany authored
Add more owners to CODE_OWNERS.TXT (Kostya Serebryany: AddressSanitizer and ThreadSanitizer; Evgeniy Stepanov: MemorySanitizer) llvm-svn: 185064
-
Alexey Samsonov authored
llvm-svn: 185063
-
Alexey Samsonov authored
llvm-svn: 185062
-
Manman Ren authored
llvm-svn: 185061
-
Bob Wilson authored
This is essentially reverting one piece of 184793 to try to fix one of Apple's buildbots. I will check with Eric to see if this is OK or if we need to find some other solution. llvm-svn: 185060
-
Rafael Espindola authored
There are a few valid situation where we care about the structure inside a directory, but not about the directory itself. A simple example is for unit testing directory traversal. PathV1 had a function like this, add one to V2 and port existing users of the created temp file and delete it hack to using it. llvm-svn: 185059
-
Larisse Voufo authored
llvm-svn: 185058
-
Sean Callanan authored
has more than one function with a body. This prevents declarations e.g. of blocks from being passed to the IRInterpreter; they must pass through to the JIT. <rdar://problem/14180236> llvm-svn: 185057
-
Larisse Voufo authored
Fix a conversion to incomplete type bug -- The error message now specifically states that the type is incomplete and points to the forward declaration of the incomplete type. llvm-svn: 185056
-
Enrico Granata authored
llvm-svn: 185055
-