- Aug 20, 2013
-
-
Jim Grosbach authored
Update testcase to be more careful about checking register values. While regexes are general goodness for these sorts of testcases, in this example, the registers are constrained by the calling convention, so we can and should check their explicit values. rdar://14779513 llvm-svn: 188819
-
Edwin Vane authored
Adding a new data structure for storing the Replacements generated for a single translation unit. Structure contains a vector of Replacements as well a field indicating the main source file of the translation unit. An optional 'Context' field allows for tools to provide any information they want about the context the Replacements were generated in. This context is printed, for example, when detecting conflicts during Replacement deduplication. YAML serialization for this data structure is implemented in this patch. Tests are included. Differential Revision: http://llvm-reviews.chandlerc.com/D1422 llvm-svn: 188818
-
Rafael Espindola authored
This moves the logic for handling -mfoo -mno-foo from the driver to -cc1. It also changes -cc1 to apply the options in order, fixing pr16943. The handling of -mno-mmx -msse is now an explicit special case. llvm-svn: 188817
-
Fariborz Jahanian authored
for an audited cf function and addition of a test case. llvm-svn: 188816
-
Andrew Kaylor authored
llvm-svn: 188815
-
Andrew Kaylor authored
llvm-svn: 188814
-
Marshall Clow authored
llvm-svn: 188813
-
Andrew Kaylor authored
llvm-svn: 188812
-
Marshall Clow authored
llvm-svn: 188811
-
Marshall Clow authored
llvm-svn: 188810
-
Hafiz Abid Qadeer authored
llvm-svn: 188809
-
Andrew Kaylor authored
llvm-svn: 188808
-
Andrew Kaylor authored
llvm-svn: 188807
-
Rafael Espindola authored
The driver validates its options, so we don't need to redo the work in "clang -cc1". llvm-svn: 188806
-
Alexey Samsonov authored
llvm-svn: 188805
-
Alexey Samsonov authored
llvm-svn: 188804
-
Marshall Clow authored
Updated status of issues #1214, 2207 and 2209. They were already implemented, so no functionality change was needed. llvm-svn: 188803
-
Rafael Espindola authored
llvm-svn: 188802
-
Ed Maste authored
Patch from Abid, Hafiz. llvm-svn: 188801
-
NAKAMURA Takumi authored
llvm::sys::path::native(dst, dst) might be overridden-safe in most cases, though. llvm-svn: 188800
-
Rafael Espindola authored
This removes the very long chains of Feature["avx"] = Feature["sse42"] = ... = true; llvm-svn: 188799
-
Vladimir Medic authored
llvm-svn: 188798
-
Tim Northover authored
This time I managed to forget the test. Patch still by Stephen Kelly. llvm-svn: 188797
-
Tim Northover authored
It makes no sense to try and compile for arm7tdmi when we're targeting something like gnueabihf. Although not strictly the most basic hardware conceivable, I believe arm1176jzf-s is a reasonable compromise (that can always be overridden explicitly if needed) since it's still in reasonably common use unlike earlier cores. Patch by Stephen Kelly. llvm-svn: 188796
-
Guillaume Papin authored
This reverts commit r188791. The Windows bots are still broken. llvm-svn: 188795
-
Daniel Jasper authored
Patch by Joe Hermaszewski. Thank you! llvm-svn: 188794
-
Daniel Jasper authored
This patch adds four new options to control: - Spaces after control keyworks (if(..) vs if (..)) - Spaces in empty parentheses (f( ) vs f()) - Spaces in c-style casts (( int )1.0 vs (int)1.0) - Spaces in other parentheses (f(a) vs f( a )) Patch by Joe Hermaszewski. Thank you for working on this! llvm-svn: 188793
-
Benjamin Kramer authored
llvm-svn: 188792
-
Guillaume Papin authored
The IncludeDirectives class helps with detecting and modifying #include directives. For now it allows the users to add angled-includes in a source file. This is a start for this class that will evolve in the future to add more functionality. This should fix the reverted commit r188610 (buildbot failures on Windows). llvm-svn: 188791
-
NAKAMURA Takumi authored
clang/test/Driver/cl-options.c: Remove the feature "clang-driver". It has been working since r188331. llvm-svn: 188790
-
NAKAMURA Takumi authored
clang/test/Driver: Remove the feature "clang-driver" since gcc-as has not been used with -integrated-as since r177360. llvm-svn: 188789
-
NAKAMURA Takumi authored
clang/test/Driver: Remove the feature "clang-driver" in three tests since they might work as expected since their first commit. llvm-svn: 188788
-
Elena Demikhovsky authored
llvm-svn: 188786
-
Daniel Sanders authored
llvm-svn: 188784
-
Daniel Sanders authored
These instructions were present in a draft spec but were removed before publication. llvm-svn: 188782
-
Richard Sandiford authored
We now use MVST, CLST and SRST for the obvious cases. llvm-svn: 188781
-
Richard Sandiford authored
SystemZTargetLowering::emitStringWrapper() previously loaded the character into R0 before the loop and made R0 live on entry. I'd forgotten that allocatable registers weren't allowed to be live across blocks at this stage, and it confused LiveVariables enough to cause a miscompilation of f3 in memchr-02.ll. This patch instead loads R0 in the loop and leaves LICM to hoist it after RA. This is actually what I'd tried originally, but I went for the manual optimisation after noticing that R0 often wasn't being hoisted. This bug forced me to go back and look at why, now fixed as r188774. We should also try to optimize null checks so that they test the CC result of the SRST directly. The select between null and the SRST GPR result could then usually be deleted as dead. llvm-svn: 188779
-
Benjamin Kramer authored
llvm-svn: 188778
-
Daniel Sanders authored
llvm-svn: 188777
-
Ed Maste authored
Patch from Abid, Hafiz. llvm-svn: 188776
-