- May 31, 2016
-
-
George Burgess IV authored
Code like the following is considered broken, and doesn't need to be supported by our AA magicks: void getFoo(int *P) { int *PAlias = (int *)((char *)NULL + (uintptr_t)P); } This patch makes CFLAA drop support for code like this. Patch by Jia Chen. Differential Revision: http://reviews.llvm.org/D20775 llvm-svn: 271322
-
Ahmed Bougacha authored
We think it's OK to generate half fminnan because it's legal for the transform-to type (f32; r245196). However, PromoteFloatRes was missing the case; simply promote like the other binops, including minnum. llvm-svn: 271317
-
Ahmed Bougacha authored
They're already in the all_valuetypes() loop above. llvm-svn: 271316
-
Ahmed Bougacha authored
The IR support is already well-documented. llvm-svn: 271315
-
Reid Kleckner authored
Adds the method MCStreamer::EmitBinaryData, which is usually an alias for EmitBytes. In the MCAsmStreamer case, it is overridden to emit hex dump output like this: .byte 0x0e, 0x00, 0x08, 0x10 .byte 0x03, 0x00, 0x00, 0x00 .byte 0x00, 0x00, 0x00, 0x00 .byte 0x00, 0x10, 0x00, 0x00 Also, when verbose asm comments are enabled, this patch prints the dump output for each comment before its record, like this: # ArgList (0x1000) { # TypeLeafKind: LF_ARGLIST (0x1201) # NumArgs: 0 # Arguments [ # ] # } .byte 0x06, 0x00, 0x01, 0x12 .byte 0x00, 0x00, 0x00, 0x00 This should make debugging easier and testing more convenient. Reviewers: aaboud Subscribers: majnemer, zturner, amccarth, aaboud, llvm-commits Differential Revision: http://reviews.llvm.org/D20711 llvm-svn: 271313
-
Rafael Espindola authored
A constant pool holding the address of a variable in equivalent to a got entry. It produces exactly the same instruction sequence as a got use and unlike a got use this is not uniqued by the linker. llvm-svn: 271311
-
Reid Kleckner authored
This is a convenient wrapper when the type record is already laid out as bytes in memory. llvm-svn: 271309
-
Davide Italiano authored
Another chapter in the story. GlobalsAA should be preserved, as well as the CFG. llvm-svn: 271307
-
Simon Dardis authored
The two xfail tests for mis32r6 & mips64r6 were supposed to be removed in r271301. llvm-svn: 271306
-
Davide Italiano authored
When this pass was originally ported, AA wasn't available for the new PM. Now it is, so we can cache properly. llvm-svn: 271303
-
Simon Dardis authored
Enforce compact branch register restrictions such as the use of the zero register, both operands being the same register. Emit clear error in such cases as the issue is subtle. For bovc and bnvc, silently fixup such cases when emitting objects directly, like LLVM started doing in rL269899. Reviewers: vkalintiris, dsanders Differential Review: http://reviews.llvm.org/D20475 llvm-svn: 271301
-
Chris Bieneman authored
The MachO export trie is a serially encoded trie keyed by symbol name. This code parses the trie and preserves the structure so that it can be dumped again. llvm-svn: 271300
-
Erik Eckstein authored
The assumption, made in insert() that weak functions are always inserted after strong functions, is only true in the first round of adding functions. In subsequent rounds this is no longer guaranteed , because we might remove a strong function from the tree (because it's modified) and add it later, where an equivalent weak function already exists in the tree. This change removes the assert in insert() and explicitly enforces a weak->strong order. This also removes the need of two separate loops in runOnModule(). llvm-svn: 271299
-
Qin Zhao authored
Summary: Creates a global variable containing preliminary information for the cache-fragmentation tool runtime. Passes a pointer to the variable (null if no variable is created) to the compilation unit init and exit routines in the runtime. Reviewers: aizatsky, bruening Subscribers: filcab, kubabrecka, bruening, kcc, vitalybuka, eugenis, llvm-commits, zhaoqin Differential Revision: http://reviews.llvm.org/D20541 llvm-svn: 271298
-
Matt Arsenault authored
Also return a single StringRef instead of building a string. llvm-svn: 271296
-
Rafael Espindola authored
Now this code path knows about position independent executables. llvm-svn: 271290
-
Krzysztof Parzyszek authored
The code in HexagonExpandCondsets.cpp does not handle those cases at the moment. llvm-svn: 271281
-
Yaron Keren authored
Introduced in r271244, this is probably undefined behaviour and asserts when compiled with Visual C++ debug mode. On further note, the loop is quadratic with regard to the number of successors since removeSuccessor is linear and could probably be modified to linear time. llvm-svn: 271278
-
Ranjeet Singh authored
Added support to map intrinsics __builtin_arm_{ldc,ldcl,ldc2,ldc2l,stc,stcl,stc2,stc2l} to their ARM instructions. Differential Revision: http://reviews.llvm.org/D20564 llvm-svn: 271271
-
Simon Pilgrim authored
Added patterns for (V)CVTDQ2PD -> 2f64 loading from a 64-bit source. llvm-svn: 271269
-
Simon Dardis authored
beqc and bnec cannot have $rs == $rt. Inhibit compact branch creation if that would occur. Reviewers: vkalintiris, dsanders Differential Revision: http://reviews.llvm.org/D20624 llvm-svn: 271260
-
Igor Breger authored
Differential Revision: http://reviews.llvm.org/D20788 llvm-svn: 271255
-
Igor Breger authored
Differential Revision: http://reviews.llvm.org/D20780 llvm-svn: 271254
-
Craig Topper authored
[AVX512] Remove gcc builtin name from masked load intrinsics so they can be custom handled by clang to create generic masked load intrinsics instead of using the x86 specific ones. The intrinsics will be removed in a future commit. llvm-svn: 271252
-
Craig Topper authored
The intrinsics will be autoupgraded to the same generic masked stores. llvm-svn: 271245
-
Saleem Abdulrasool authored
This adds support to the backed to actually support SjLj EH as an exception model. This is *NOT* the default model, and requires explicitly opting into it from the frontend. GCC supports this model and for MinGW can still be enabled via the `--using-sjlj-exceptions` options. Addresses PR27749! llvm-svn: 271244
-
David Majnemer authored
llvm-svn: 271243
-
David Majnemer authored
Looks like the dwarfdump fuzzer has bitrotted, update it to take into account updates to the libobject API. llvm-svn: 271242
-
Craig Topper authored
[X86] Remove SSE/AVX unaligned store intrinsics as clang no longer uses them. Auto upgrade to native unaligned store instructions. llvm-svn: 271236
-
Craig Topper authored
[X86] Use update_llc_test_checks.py to re-generate a test in preparation for an upcoming commit. NFC llvm-svn: 271234
-
Craig Topper authored
llvm-svn: 271233
-
Craig Topper authored
[X86] Reduce the number of string compares in the autoupgrade logic by checking more prefixes instead of complete matches. llvm-svn: 271232
-
- May 30, 2016
-
-
Rafael Espindola authored
llvm-svn: 271229
-
Simon Pilgrim authored
llvm-svn: 271228
-
Simon Pilgrim authored
These aren't intrinsics anymore - as discussed on D20686 llvm-svn: 271226
-
Lang Hames authored
* Various tidy-up and streamlining of existing discussion. * Describes findSymbol and removeModule. Chapter 1 is now rough but essentially complete in terms of content. Feedback, patches etc. very welcome. llvm-svn: 271225
-
Simon Pilgrim authored
llvm-svn: 271224
-
Simon Pilgrim authored
Since rL271214 the headers have no longer used the storeu intrinsic llvm-svn: 271222
-
Simon Pilgrim authored
llvm-svn: 271220
-
Lang Hames authored
llvm-svn: 271213
-