- Sep 03, 2013
-
-
Joey Gouly authored
A change to test the previous commit will be coming soon. llvm-svn: 189825
-
Eric Christopher authored
llvm-svn: 189824
-
Richard Sandiford authored
For now this just handles simple comparisons of an ANDed value with zero. The CC value provides enough information to do any comparison for a 2-bit mask, and some nonzero comparisons with more populated masks, but that's all future work. llvm-svn: 189819
-
Joey Gouly authored
llvm-svn: 189815
-
Evgeniy Stepanov authored
llvm-svn: 189796
-
Evgeniy Stepanov authored
Select condition shadow was being ignored resulting in false negatives. This change OR-s sign-extended condition shadow into the result shadow. llvm-svn: 189785
-
Daniel Sanders authored
This changes the SelectionDAG nodes from ISD::INTRINSIC_W_CHAIN to ISD::INTRINSIC_WO_CHAIN which enables easy lowering to equivalent SelectionDAG nodes (e.g. __builtin_msa_sub_w -> ISD::SUB) in future patches since nodes such as ISD::SUB do not have a chain. It also corrects an obvious mistake, namely that the subtract intrinsics were marked as being commutative. As per a similar change in r189106 (http://llvm.org/viewvc/llvm-project?rev=189106&view=rev) there isn’t a new testcase in this patch since the existing tests should test the intrinsics to the same standard and the best I can do for a testcase would be a fragile pass/maybe test of whether memory operations can (and do) cross the intrinsic. llvm-svn: 189784
-
Daniel Sanders authored
This changes the SelectionDAG nodes from ISD::INTRINSIC_W_CHAIN to ISD::INTRINSIC_WO_CHAIN which enables easy lowering to equivalent SelectionDAG nodes (e.g. __builtin_msa_fadd_w -> ISD::FADD) in future patches since nodes such as ISD::FADD do not have a chain. As per a similar change in r189106 (http://llvm.org/viewvc/llvm-project?rev=189106&view=rev) there isn’t a new testcase in this patch since the existing tests should test the intrinsics to the same standard and the best I can do for a testcase would be a fragile pass/maybe test of whether memory operations can (and do) cross the intrinsic. llvm-svn: 189782
-
Venkatraman Govindaraju authored
llvm-svn: 189780
-
Craig Topper authored
llvm-svn: 189779
-
- Sep 02, 2013
-
-
Venkatraman Govindaraju authored
llvm-svn: 189768
-
Tilmann Scheller authored
Test cases adjusted accordingly. This fixes rdar://14871821. llvm-svn: 189766
-
rdar://14871821Tilmann Scheller authored
What we really want is to enable Swift by default for *v7s triples (and there already seems to be some logic which attempts to do that). In that case the iOS version doesn't matter. llvm-svn: 189763
-
Tilmann Scheller authored
Test cases adjusted accordingly. This fixes rdar://14871821. llvm-svn: 189756
-
NAKAMURA Takumi authored
llvm-svn: 189755
-
NAKAMURA Takumi authored
llvm/test/CodeGen/X86: Update tests with -mattr=-bmi not to take BMI, corresponding to Craig's r189742. AMD Piledriver builder detected failures. llvm-svn: 189754
-
Alexey Samsonov authored
llvm-svn: 189747
-
Craig Topper authored
llvm-svn: 189742
-
Elena Demikhovsky authored
llvm-svn: 189740
-
Chandler Carruth authored
correct style for the LLVM tree as well as projects checked out under projects and tools. llvm-svn: 189737
-
Elena Demikhovsky authored
Specify GATHER/SCATTER as heavy instructions. llvm-svn: 189736
-
Elena Demikhovsky authored
This patch implements vector support for select instruction and adds specific vector instructions : shuffle and insertelement. (tests are also included) and functions lle_X_memset, lle_X_memcpy added. Done by Veselov, Yuri (mailto:Yuri.Veselov@intel.com) llvm-svn: 189735
-
Chandler Carruth authored
printing routine. This is made harder to see due to the surprising formatting, inconsistent brace usage, and repeated conditions that all test the same thing. The only "consequence" of this bug is re-assigning 'str' to an empty string when computing the error string for an error number of 0 in the event of a non-GNU strerror_r routine. So, nothing to see here other than cleanup. It did help me find PR17055 in clang-format though. llvm-svn: 189734
-
Dmitri Gribenko authored
Iterator of std::vector may be implemented as a raw pointer. In this case ADL does not find the find() function in the std namespace. For example, this is the case with STDCXX implementation of vector. Patch by Konstantin Tokarev. llvm-svn: 189733
-
Chandler Carruth authored
part of getting started with LLVM. The LLVM getting started document is in woeful need of attention. I may get to some of this, but some random notes for folks interested: 1) We need to separate the getting started steps for folks who are interested in the core LLVM libs and nothing else, folks interested in a nifty C++ toolchain and nothing else, and folks interested in both. 2) We should include documentation for both release archives, svn, and git in equal portion, and we should document all of the various repositories of interest: llvm, clang, clang-tools-extra, compiler-rt, lld, libcxx, test-suite. 3) We should document the CMake build. We should probably document the CMake build first, and give a fall-back set of docs for the Makefile build for the use cases where that is still the preferred solution. This would more closely match the use cases that folks in the open source community are likely to have, and would remove a point of discrepancy between Linux, Windows, and Mac instructions. 4) Probably a ton of other modernization stuff that I've not thought of here. Anyways, if anyone at all is interested, please help clean up this document. It is much needed. llvm-svn: 189732
-
- Sep 01, 2013
-
-
Chris Lattner authored
This is under active discussion. llvm-svn: 189730
-
Elena Demikhovsky authored
llvm-svn: 189729
-
Charles Davis authored
llvm-svn: 189728
-
Reed Kotler authored
don't exist in libc. This is really not the right way to solve this problem; but it's not clear to me at this time exactly what is the right way. If we create stubs here, they will cause link errors because these functions do not exist in libc. llvm-svn: 189727
-
- Aug 31, 2013
-
-
Benjamin Kramer authored
llvm-svn: 189726
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 189725
-
Benjamin Kramer authored
The existing code missed some edge cases when e.g. we're going to emit sqrtf but only the availability of sqrt was checked. This happens on odd platforms like windows. llvm-svn: 189724
-
Andrew Trick authored
There was one case that we could hit a DebugValue where I didn't think to check. DebugValues are evil. No checkinable test case, sorry. It's an obvious fix. llvm-svn: 189717
-
Bill Schmidt authored
Here are a few miscellaneous things to tidy up the PPC64 fast-isel implementation. I corrected a couple of commentary lapses, and added documentation of future opportunities. I also implemented TargetMaterializeAlloca, which I somehow forgot when I split up the original huge patch. Finally, I decided to delete SelectCmp. I hadn't previously hooked it in to TargetSelectInstruction(), and when I did I realized it wasn't serving any useful purpose. This is only useful for compares that don't feed a branch in the same block, and to handle that we would have to have logic to interpret i1 as a condition register. This could probably be done, but would require Unseemly Hackery, and honestly does not seem worth the hassle. This ends the current patch series. llvm-svn: 189715
-
Bill Schmidt authored
This is the last substantive patch I'm planning for fast-isel in the near future, adding fast selection of integer truncates. There are certainly more things that can be improved (many of which are called out in FIXMEs), but for now we are catching most of the important cases. I'll document some of the remaining work in a cleanup patch shortly. llvm-svn: 189706
-
Bill Schmidt authored
llvm-svn: 189705
-
Chris Lattner authored
implementation files. While doc generation systems don't need this, humans do benefit from it. Not everyone reads all code through doxygen. llvm-svn: 189704
-
Bill Schmidt authored
This patch adds fast-isel support for calls (but not intrinsic calls or varargs calls). It also removes a badly-formed assert. There are some new tests just for calls, and also for folding loads into arguments on calls to avoid extra extends. llvm-svn: 189701
-
- Aug 30, 2013
-
-
Richard Mitton authored
llvm-svn: 189699
-
Richard Mitton authored
Fixed a bug where diassembling an instruction that had a prefix would cause LLVM to identify a 1-byte instruction, but then upon querying it for that 1-byte instruction would cause an undefined opcode. llvm-svn: 189698
-