- Jan 08, 2014
-
-
Chandler Carruth authored
having the include could cause weird layering problems between the IR and MC libraries. llvm-svn: 198796
-
Hal Finkel authored
MIsNeedChainEdge, which is used by -enable-aa-sched-mi (AA in misched), had an llvm_unreachable when -enable-aa-sched-mi is enabled and we reach an instruction with multiple MMOs. Instead, return a conservative answer. This allows testing -enable-aa-sched-mi on x86. Also, this moves the check above the isUnsafeMemoryObject checks. isUnsafeMemoryObject is currently correct only for instructions with one MMO (as noted in the comment in isUnsafeMemoryObject): // We purposefully do no check for hasOneMemOperand() here // in hope to trigger an assert downstream in order to // finish implementation. The problem with this is that, had the candidate edge passed the "!MIa->mayStore() && !MIb->mayStore()" check, the hoped-for assert would never happen (which could, in theory, lead to incorrect behavior if one of these secondary MMOs was volatile, for example). llvm-svn: 198795
-
Matt Arsenault authored
llvm-svn: 198794
-
Matt Arsenault authored
This matches std::set and allows using DenseSet with the functions in SetOperations.h llvm-svn: 198793
-
Rafael Espindola authored
ErrorOr is modeled after boost::optional which has a get method. llvm-svn: 198792
-
Ana Pazos authored
llvm-svn: 198791
-
Simon Atanasyan authored
paired LO16 relocation. llvm-svn: 198790
-
Simon Atanasyan authored
llvm-svn: 198789
-
Simon Atanasyan authored
into the separate function. llvm-svn: 198788
-
Simon Atanasyan authored
internal purpose. Use special LLD_R_MIPS_GLOBAL_GOT constant for that. llvm-svn: 198787
-
Simon Atanasyan authored
llvm-svn: 198786
-
Simon Atanasyan authored
fields. llvm-svn: 198785
-
Simon Atanasyan authored
llvm-svn: 198784
-
Simon Atanasyan authored
llvm-svn: 198783
-
Alp Toker authored
We (perhaps over-cautiously) disable the new plugin tests on static Windows builds right now, matching what LLVM core does. This change was needed for the lit check to work. Thanks to Warren Hunt for spotting this. llvm-svn: 198782
-
Argyrios Kyrtzidis authored
[Serialization] In ASTReader::getInputFile record it when we didn't find the file to avoid looking it up again. Hopefully addresses rdar://14514222. llvm-svn: 198781
-
Roman Divacky authored
resolution works. llvm-svn: 198780
-
Jordan Rose authored
...rather somewhere in the destructor when we try to access something and realize the object has already been deleted. This is necessary because the destructor is processed before the 'delete' itself. Patch by Karthik Bhat! llvm-svn: 198779
-
David Woodhouse authored
It's not a real instruction any more and doesn't need encoding information. llvm-svn: 198778
-
Andrea Di Biagio authored
to the following two rules: 1) fold (vselect (build_vector AllOnes), A, B) -> A 2) fold (vselect (build_vector AllZeros), A, B) -> B llvm-svn: 198777
-
Greg Clayton authored
Fixed a kernel panic that would occur if you debug anything on MacOSX 10.7 or earlier due to the use of the POSIX_SPAWN_CLOEXEC_DEFAULT attribute flag that closes all file descriptors on exec. We now dyamically detect the OS version and do the right thing. llvm-svn: 198776
-
Rafael Espindola authored
No idea how this was compiling locally. Found by the bots. llvm-svn: 198775
-
Rafael Espindola authored
These private functions return pointers to the internal storage. llvm-svn: 198774
-
Lang Hames authored
llvm-svn: 198772
-
Nico Rieck authored
llvm-svn: 198771
-
Benjamin Kramer authored
PR18406. llvm-svn: 198770
-
Daniel Jasper authored
Before: vector<int> foo{ ::SomeFunction()}; After: vector<int> foo{::SomeFunction()}; llvm-svn: 198769
-
Richard Sandiford authored
No functional change intended. llvm-svn: 198768
-
Alexander Kornienko authored
Reviewers: djasper Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2519 llvm-svn: 198767
-
Alp Toker authored
Python doesn't do a good job at diagnosing string exec() so use execfile() where available. This should be a timesaver when trying to get to the bottom of build bot failures. Before: File "llvm/utils/lit/lit/TestingConfig.py", line 93, in load_from_path exec("exec data in cfg_globals") File "<string>", line 1, in <module> File "<string>", line 194, in <module> NameError: name 'typo' is not defined After: File "llvm/utils/lit/lit/TestingConfig.py", line 95, in load_from_path execfile(path, cfg_globals) File "clang/test/lit.cfg", line 194, in <module> typo ^~~~ NameError: name 'typo' is not defined llvm-svn: 198766
-
Aaron Ballman authored
Patch reviewed by Rafael Espindola. llvm-svn: 198765
-
Alp Toker authored
This is a further build fix attempt for r198747 on some Makefile builders where the value wasn't set at all. llvm-svn: 198764
-
David Woodhouse authored
llvm-svn: 198763
-
David Woodhouse authored
Mark them as requiring 16-bit mode for now, since we don't yet have relaxation support for FK_Data_2. llvm-svn: 198762
-
David Woodhouse authored
They do *different* things to %esp, so they are not equivalent. Rename PUSHi8 to PUSH32i8 and add the missing PUSH16i8. llvm-svn: 198761
-
David Woodhouse authored
We can't do a perfect job here. We *have* to allow (%dx) even in 64-bit mode, for example, because it might be used for an unofficial form of the in/out instructions. We actually want to do a better job of validation *later*. Perhaps *instead* of doing it where we are at the moment. But for now, doing what validation we *can* do in the place that the code already has its validation, is an improvement. llvm-svn: 198760
-
David Woodhouse authored
It seems there is no separate instruction class for having AdSize *and* OpSize bits set, which is required in order to disambiguate between all these instructions. So add that to the disassembler. Hm, perhaps we do need an AdSize16 bit after all? llvm-svn: 198759
-
David Woodhouse authored
Where "where possible" means that it's an immediate value and it's below 0x10000. In fact GAS will either truncate or error with larger values, and will insist on using the addr32 prefix to get 32-bit addressing. So perhaps we should do that, in a later patch. llvm-svn: 198758
-
David Woodhouse authored
JCXZ should have the 0x67 prefix only if we're in 32-bit mode, so make that appropriately conditional. And JECXZ needs the prefix instead. llvm-svn: 198757
-
David Woodhouse authored
I couldn't see how to do this sanely without splitting RETQ from RETL. Eric says: "sad about the inability to roundtrip them now, but...". I have no idea what that means, but perhaps it wants preserving in the commit comment. llvm-svn: 198756
-