- Nov 17, 2016
-
-
Chris Bieneman authored
This patch adds an option to the build system LLVM_DEPENDENCY_DEBUGGING. Over time I plan to extend this to do more complex verifications, but the initial patch causes compile errors wherever there is missing a dependency on intrinsics_gen. Because intrinsics_gen is a compile-time dependency not a link-time dependency, everything that relies on the headers generated in intrinsics_gen needs an explicit dependency. llvm-svn: 287207
-
Chris Bieneman authored
This patch updates a bunch of places where add_dependencies was being explicitly called to add dependencies on intrinsics_gen to instead use the DEPENDS named parameter. This cleanup is needed for a patch I'm working on to add a dependency debugging mode to the build system. llvm-svn: 287206
-
Chris Bieneman authored
This patch updates a couple places where add_dependencies was being explicitly called to add dependencies on intrinsics_gen to instead use the DEPENDS named parameter. This cleanup is needed for a patch I'm working on to add a dependency debugging mode to the build system. llvm-svn: 287205
-
Konstantin Zhuravlyov authored
llvm-svn: 287204
-
Konstantin Zhuravlyov authored
llvm-svn: 287203
-
Rui Ueyama authored
llvm-svn: 287202
-
Konstantin Zhuravlyov authored
llvm-svn: 287201
-
Rui Ueyama authored
llvm-svn: 287200
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D26732 llvm-svn: 287199
-
Rui Ueyama authored
Because it is uint16_t in the ELF spec. Using size_t was confusing. llvm-svn: 287198
-
Rui Ueyama authored
llvm-svn: 287197
-
Rui Ueyama authored
We used to create a vector contantaining all version definitions with wildcards because doing that was efficient. All patterns were compiled to a regexp and matched against symbol names. Because a regexp can be converted to a DFA, matching against union of patterns is as cheap as matching against one patter. We are no longer converting them to regexp. Our own glob pattern handler doesn't do such optimization. Therefore, creating a vector no longer makes sense. llvm-svn: 287196
-
Lang Hames authored
llvm-svn: 287195
-
Richard Smith authored
is completely irrelevant, producing (effectively) false positives, and -Wmost is used pretty widely. We should somehow turn it back on by default when targeting the MS ABI, however, since it indicates the program will not do as intended in those cases. (Or perhaps we should just treat enum bitfields as having the signedness of the enum, even when targeting the MS ABI...) llvm-svn: 287193
-
Rui Ueyama authored
llvm-svn: 287192
-
Rui Ueyama authored
llvm-svn: 287191
-
Zachary Turner authored
llvm-svn: 287190
-
Zachary Turner authored
Also significantly reduced the indentation level by use of early returns, and simplified some of the logic by using StringRef functions such as consumeInteger() and getAsInteger() instead of strtoll, etc. llvm-svn: 287189
-
Zachary Turner authored
Differential Revision: https://reviews.llvm.org/D26721 llvm-svn: 287188
-
George Burgess IV authored
During template instantiation, we currently fall back to just calling Sema::SubstExpr for enable_if attributes that aren't value-dependent or type-dependent. Since Sema::SubstExpr strips off any implicit casts we've added to an expression, it's possible that this behavior will leave us with an enable_if condition that's just a DeclRefExpr. Conditions like that deeply confuse Sema::CheckEnableIf. llvm-svn: 287187
-
Dehao Chen authored
Summary: For flat loop, even if it is hot, it is not a good idea to unroll in runtime, thus we set a lower partial unroll threshold. For hot loop, we set a higher unroll threshold and allows expensive tripcount computation to allow more aggressive unrolling. Reviewers: davidxl, mzolotukhin Subscribers: sanjoy, mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D26527 llvm-svn: 287186
-
Ivan Krasin authored
This should fix a failure on PowerPC introduced by r287181. llvm-svn: 287185
-
Justin Lebar authored
The last remaining necessary change was D25403, landed as r287012. llvm-svn: 287184
-
Lang Hames authored
llvm-svn: 287183
-
Peter Collingbourne authored
llvm-svn: 287182
-
Ivan Krasin authored
Summary: this is to prevent a situation when a pointer is invalid or null, but we get to reading from vtable before we can check that (possibly causing a segfault without a good diagnostics). Reviewers: pcc Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26559 llvm-svn: 287181
-
Dylan McKay authored
This is a remnant of an on-chip unit testing tool that has since been moved out-of-tree. It was accidentally committed in r287162. llvm-svn: 287180
-
Petr Hosek authored
lld has LTO support, if requested we should add a dependency on lld rather than LLVMgold when doing LTO bootstrap build. Differential Revision: https://reviews.llvm.org/D26649 llvm-svn: 287179
-
Peter Collingbourne authored
This pass splits globals into elements using inrange annotations on getelementptr indices. Differential Revision: https://reviews.llvm.org/D22295 llvm-svn: 287178
-
Reid Kleckner authored
Summary: Add a warning when assigning enums to bitfields without an explicit unsigned underlying type. This is to prevent problems with MSVC compatibility, since the Microsoft ABI defaults to storing enums with a signed type, causing inconsistencies with saving to/reading from bitfields. Also disabled the warning in the dr0xx.cpp test which throws the error, and added a test for the warning. The warning can be disabled with -Wno-signed-enum-bitfield. Patch by Sasha Bermeister! Reviewers: rnk, aaron.ballman Subscribers: mehdi_amini, aaron.ballman, cfe-commits, thakis, dcheng Differential Revision: https://reviews.llvm.org/D24289 llvm-svn: 287177
-
Dylan McKay authored
The '-fpermissive' compiler flag complains if the template specializations used in the class are used in a different namespace. llvm-svn: 287176
-
- Nov 16, 2016
-
-
Anna Zaks authored
Remove the check::RegionChanges::wantsRegionChangeUpdate callback as it is no longer used (since checkPointerEscape has been added). A patch by Krzysztof Wiśniewski! Differential Revision: https://reviews.llvm.org/D26759 llvm-svn: 287175
-
Dylan McKay authored
The branch selector would change the names. llvm-svn: 287174
-
Dylan McKay authored
llvm-svn: 287173
-
Dylan McKay authored
This adds two test files that verify the 'cttz' and 'ctlz' operations. llvm-svn: 287172
-
Sanjay Patel authored
We save an inter-register file move this way. If there's any CPU where the FP logic is slower, we could transform this back to int-logic in MachineCombiner. This helps, but doesn't solve, PR6137: https://llvm.org/bugs/show_bug.cgi?id=6137 The 'andn' test shows that we're missing a pattern match to recognize the xor with -1 constant as a 'not' op. llvm-svn: 287171
-
Ahmed Bougacha authored
This should prevent stack overflows in non-optimized builds on .ll files with lots of consecutive commented-out lines. Instead of recursing into LexToken(), continue into a 'while (true)'. llvm-svn: 287170
-
Ahmed Bougacha authored
While there, rename them to follow the coding style. llvm-svn: 287169
-
Ahmed Bougacha authored
This reverts commit r286962. We want to avoid depending on SelectionDAG, and AddLandingPadInfo lives in CodeGen now. llvm-svn: 287168
-
Ahmed Bougacha authored
They're not SelectionDAG- or FunctionLoweringInfo-specific. They are, however, specific to building MMI from IR. We could make them members, but it's nice having MMI be a "simple" data structure and this logic kept separate. This also lets us reuse them from GlobalISel. llvm-svn: 287167
-