- Jul 27, 2015
-
-
Sanjay Patel authored
llvm-svn: 243327
-
JF Bastien authored
Summary: Fix pointer / callee-save stack sto size. Update comment character to be LISP-ish. Subscribers: llvm-commits, sunfish, jfb Differential Revision: http://reviews.llvm.org/D11537 llvm-svn: 243326
-
Simon Pilgrim authored
llvm-svn: 243324
-
Rui Ueyama authored
llvm-svn: 243323
-
Alex Lorenz authored
llvm-svn: 243322
-
Rui Ueyama authored
This is to make it consistent with COFF. llvm-svn: 243321
-
Alex Lorenz authored
This commit renames the methods 'parseMBB' and 'parseNamedRegister' to 'parseStandaloneMBB' and 'parseStandaloneNamedRegister' in order for their names to be consistent with the method 'parseStandaloneVirtualRegister'. llvm-svn: 243319
-
Bruno Cardoso Lopes authored
Still breaks some ARM buildbots. This reverts r243271. llvm-svn: 243318
-
Tyler Nowicki authored
When ‘#pragma clang loop vectorize(assume_safety)’ was specified on a loop other loop hints were lost. The problem is that CGLoopInfo attaches metadata differently than EmitCondBrHints in CGStmt. For do-loops CGLoopInfo attaches metadata to the br in the body block and for while and for loops, the inc block. EmitCondBrHints on the other hand always attaches data to the br in the cond block. When specifying assume_safety CGLoopInfo emits an empty llvm.loop metadata shadowing the metadata in the cond block. Loop transformations like rotate and unswitch would then eliminate the cond block and its non-empty metadata. This patch unifies both approaches for adding metadata and modifies the existing safety tests to include non-assume_safety loop hints. llvm-svn: 243315
-
Simon Pilgrim authored
llvm-svn: 243314
-
Adam Nemet authored
llvm-svn: 243313
-
Adam Nemet authored
llvm-svn: 243312
-
Aaron Ballman authored
llvm-svn: 243311
-
Akira Hatanaka authored
After r243308, the front-end is responsible for checking the target OS and passing reserve-x18 if the target is Darwin. llvm-svn: 243310
-
Ed Maste authored
llvm.org/pr24282 llvm-svn: 243309
-
Akira Hatanaka authored
be reserved. The decision to reserve x18 is going to be made solely by the front-end, so it isn't necessary to check if the OS is Darwin in the backend. llvm-svn: 243308
-
Ed Maste authored
r243230 XFAILed it for Linux; it also fails on FreeBSD. llvm-svn: 243307
-
Simon Pilgrim authored
llvm-svn: 243306
-
Simon Pilgrim authored
The 3DNOW/PRFCHW cpu targets define both the PREFETCHW (set cache line modified) and PREFETCH (set cache line exclusive) instructions but only the _m_prefetchw (PREFETCHW) intrinsic is included in the header. This patch adds the missing _m_prefetch intrinsic. I'm basing this off AMD documentation - the intel docs on the support for PREFETCHW isn't clear whether Silvermont/Broadwell properly support PREFETCH but given that the intrinsic implementation is a default __builtin_prefetch call, it is safe whatever. Fix for PR23648 Differential Revision: http://reviews.llvm.org/D11338 llvm-svn: 243305
-
Juergen Ributzka authored
This is a follow-up to r243198 and adds more truncation tests. llvm-svn: 243304
-
Simon Pilgrim authored
Now that we are generating sane codegen for vector sext/zext nodes on SSE targets, this patch uses instcombine to replace the SSE41/AVX2 pmovsx and pmovzx intrinsics with the equivalent native IR code. Differential Revision: http://reviews.llvm.org/D11503 llvm-svn: 243303
-
Pete Cooper authored
This reverts commit r243167. Duncan pointed out that dyn_cast can return null in these cases, so this was an unsafe commit to make. Sorry for the noise. Worryingly there were no tests which fail... llvm-svn: 243302
-
Enrico Granata authored
llvm-svn: 243301
-
Matt Arsenault authored
The pointer size of the addrspacecasted pointer might not have matched, so this would have hit an assert in accumulateConstantOffset. I think this was here to allow constant folding of a load of an addrspacecasted constant. Accumulating the offset through the addrspacecast doesn't make much sense, so something else is necessary to allow folding the load through this cast. llvm-svn: 243300
-
Diego Novillo authored
There is an ODR conflict between lib/ExecutionEngine/ExecutionEngineBindings.cpp and lib/Target/TargetMachineC.cpp. The inline definitions should simply be marked static (thanks dblaikie for the hint). llvm-svn: 243298
-
JF Bastien authored
Fix `llvm-config` to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components. Summary: When LLVM is configured to build shared libraries, CMake builds each component as it's own shared object, while autoconfig/make builds them statically and then links them all together to create a single shared object. This change adds compile time config flags to `llvm-config` so it can know whether LLVM's components are separated or not and act accordingly. This fixes `llvm-config` instead of fixing the makefiles to behave like CMake because, AIUI, LLVM's autoconfig/make build system is on the way out anyway. This change only affects `llvm-config` from builds that use autoconfig/make. Reviewers: jfb Subscribers: echristo, dschuff, llvm-commits Differential Revision: http://reviews.llvm.org/D11392 llvm-svn: 243297
-
Daniel Sanders authored
Summary: backtrace_test.pass.cpp depends on unwind tables. These are generated by -funwind-tables which is the default for x86 but not for other targets. Thanks to Nitesh Jain for helping to narrow this down. Fixes PR24148 Reviewers: jroelofs Subscribers: cfe-commits, jroelofs, llvm-commits, hans Differential Revision: http://reviews.llvm.org/D11529 llvm-svn: 243296
-
Marek Olsak authored
Author: Dave Airlie <airlied@redhat.com> In order to implement indirect sampler loads, we don't want to match on a VGPR load but an SGPR one for constants, as we cannot feed VGPRs to the sampler only SGPRs. this should be applicable for llvm 3.7 as well. llvm-svn: 243294
-
Sanjay Patel authored
llvm-svn: 243293
-
Aaron Ballman authored
llvm-svn: 243292
-
Tobias Grosser authored
We hoist statements that are used on both branches of an if-condition, shorten and unify some variable names and fold some variable declarations into their only uses. We also drop a comment which just describes the elements the loop iterates over. No functional change intended. llvm-svn: 243291
-
Alex Lorenz authored
This commit zeroes out the virtual register references in the machine function's liveins in the class 'MachineRegisterInfo' when the virtual register definitions are cleared. Reviewers: Matthias Braun llvm-svn: 243290
-
Samuel Antao authored
instruction. llvm-svn: 243289
-
Alex Lorenz authored
Reviewers: Duncan P. N. Exon Smith llvm-svn: 243288
-
Sanjay Patel authored
llvm-svn: 243287
-
Samuel Antao authored
llvm-svn: 243285
-
Davide Italiano authored
llvm-svn: 243284
-
Pete Cooper authored
This reverts commit r243135. Feedback from Craig Topper and David Blaikie was that we don't put const on Type as it has no mutable state. llvm-svn: 243283
-
Pete Cooper authored
This reverts commit r243146. Feedback from Craig Topper and David Blaikie was that we don't put const on Type as it has no mutable state. llvm-svn: 243282
-
Dawn Perchik authored
The command "-break-insert ns::foo" for function 'foo' in namespace 'ns' was being parsed as file:function. This patch fixes these cases by adding checks for '::'. (Note: '::func' is not parsed correctly by lldb due to llvm.org/pr24271). Reviewed by: ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11396 llvm-svn: 243281
-