Benjamin Kramer
9fc7b995f2
Remove byte order mark from source file.
...
llvm-svn: 188066
2013-08-09 10:31:14 +00:00
Ulrich Weigand
c93ad2d7b0
Add back missing PPC relocation types.
...
llvm-svn: 188064
2013-08-09 09:42:14 +00:00
Richard Sandiford
a0b6cbf288
[SystemZ] Update README
...
llvm-svn: 188062
2013-08-09 09:25:57 +00:00
Alexey Samsonov
e87d27ad05
Try to unbreak Windows build after r188022
...
llvm-svn: 188057
2013-08-09 07:34:06 +00:00
Craig Topper
ae74eb18d7
Add missing 'v' prefix in front of palignr on one of checks.
...
llvm-svn: 188054
2013-08-09 05:41:12 +00:00
Craig Topper
b556057053
Change asserts at the top of getVectorShuffle to check that LHS and RHS have the same type as the result.
...
Previously the asserts were only checking that RHS and LHS were the same type and had the same element type as the result. All downstream code for ISD::VECTOR_SHUFFLE requires the types to be the same.
Also removed one unnecessary check of matched element counts that was present in the code.
llvm-svn: 188051
2013-08-09 04:37:24 +00:00
Hal Finkel
2dc47cddf0
Set ISD::FROUND to Expand by default for all types
...
For most libm ISD nodes, TargetLoweringBase::initActions sets the default
scalar-type action to Expand, and leaves the vector-type action default as
Legal. This is not appropriate for the new ISD::FROUND node (which no backend
but PowerPC handles explicitly).
Fixes PR16842.
llvm-svn: 188048
2013-08-09 04:13:44 +00:00
Saleem Abdulrasool
7fcd7a910a
[CodeGen] prevent abnormal on invalid attributes
...
Currently, when an invalid attribute is encountered on processing a .s file,
clang will abort due to llvm_unreachable. Invalid user input should not cause
an abnormal termination of the compiler. Change the interface to return a
boolean to indicate the failure as a first step towards improving hanlding of
malformed user input to clang.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
llvm-svn: 188047
2013-08-09 01:52:03 +00:00
Lang Hames
1c531fdf7f
Optimistically ignore scattered relocations in MachO in RuntimeDyld. This
...
un-breaks simple use cases while I work on more general support.
<rdar://problem/14487667>
llvm-svn: 188044
2013-08-09 00:57:01 +00:00
Daniel Dunbar
8884fe65a5
[lit] Rename lit.{TestFormats,Util} to their aliased names {formats,util}.
...
- With compatibility hack in lit.__init__, so this hopefully shouldn't break
anything.
llvm-svn: 188040
2013-08-09 00:37:15 +00:00
Daniel Dunbar
3be0993727
[lit] Inject the lit specific config object as 'lit_config' when loading config files.
...
- Injecting it as 'lit' is gross, since that name should be used to refer to
the actual package. For now both are available so it is possibly to cleanup
test config files incrementally.
llvm-svn: 188039
2013-08-09 00:37:05 +00:00
Daniel Dunbar
038271ce61
[lit] Split TestingConfig.frompath() into separate ctor and load methods.
...
llvm-svn: 188038
2013-08-09 00:36:58 +00:00
Daniel Dunbar
afc3dc05ad
[lit] Eliminate mustExist parameter from TestingConfig.frompath().
...
llvm-svn: 188034
2013-08-09 00:09:02 +00:00
Daniel Dunbar
a5a0a4f18a
[lit] Only create config copies when a local config file is present.
...
llvm-svn: 188033
2013-08-09 00:08:56 +00:00
Daniel Dunbar
b3b908fad3
[lit] Eliminate parent argument from TestingConfig.frompath(), which is effectively unused.
...
llvm-svn: 188032
2013-08-09 00:08:46 +00:00
Michael J. Spencer
ad7660cd39
Add missing PPC64 relocation types.
...
llvm-svn: 188031
2013-08-08 23:58:18 +00:00
Eric Christopher
e0514008de
Update the CMake build files.
...
llvm-svn: 188030
2013-08-08 23:51:31 +00:00
Bill Wendling
77b4e94913
Revert r185882. This is causing problems with the gold linker and might be better handled by the linker.
...
llvm-svn: 188029
2013-08-08 23:51:04 +00:00
Eric Christopher
81863ce2b7
Move hash computation code into a separate class and file.
...
No functional change intended.
llvm-svn: 188028
2013-08-08 23:45:55 +00:00
Jack Carter
69e05b321a
Mips ELF: MicroMips direct object Little endian support.
...
Test included.
Patch by Zoran Jovanovich
llvm-svn: 188024
2013-08-08 23:30:40 +00:00
Michael J. Spencer
3c99aa1abd
llvm isn't C++11 yet :(
...
llvm-svn: 188023
2013-08-08 22:50:40 +00:00
Michael J. Spencer
8cdf1cca41
[Object] Split the ELF interface into 3 parts.
...
* ELFTypes.h contains template magic for defining types based on endianess, size, and alignment.
* ELFFile.h defines the ELFFile class which provides low level ELF specific access.
* ELFObjectFile.h contains ELFObjectFile which uses ELFFile to implement the ObjectFile interface.
llvm-svn: 188022
2013-08-08 22:27:13 +00:00
Akira Hatanaka
c05b5c3dae
[mips] Rename accumulator register classes and FP register operands.
...
llvm-svn: 188020
2013-08-08 21:54:26 +00:00
Akira Hatanaka
41ad5610bf
[mips] Mark pseudo instructions as code-gen only.
...
llvm-svn: 188017
2013-08-08 21:44:39 +00:00
Akira Hatanaka
4f90298c6e
[mips] Delete register class HWRegs64.
...
No functionality change.
llvm-svn: 188016
2013-08-08 21:37:32 +00:00
David Fang
3e8c045f48
cast fix to appease buildbot
...
llvm-svn: 188014
2013-08-08 21:29:30 +00:00
Arnold Schwaighofer
ddea7f3974
Revert "Reapply r185872 now that the address sanitizer has been changed to support this."
...
This reverts commit r187939. It broke an O0 build of a spec benchmark.
llvm-svn: 188012
2013-08-08 21:04:16 +00:00
Daniel Dunbar
2c09196a0d
[tests] Remove dead VALGRIND and CLEANED_TESTSUITE makefile variables.
...
llvm-svn: 188010
2013-08-08 20:59:27 +00:00
Daniel Dunbar
f46311361c
[lit] Change --show-{tests,suites} to exit after printing.
...
- This is a more sensible behavior than printing and also running tests.
llvm-svn: 188009
2013-08-08 20:59:25 +00:00
Daniel Dunbar
afca64a31c
[lit] Remove --repeat option, which wasn't that useful.
...
llvm-svn: 188008
2013-08-08 20:59:20 +00:00
Daniel Dunbar
f5fcc2c5f4
[lit] Eliminate some nested imports.
...
llvm-svn: 188007
2013-08-08 20:59:16 +00:00
Daniel Dunbar
a172055173
[lit] Remove on_clone member, which is no longer used.
...
llvm-svn: 188006
2013-08-08 20:59:13 +00:00
David Fang
772a101ff0
initial draft of PPCMachObjectWriter.cpp
...
this records relocation entries in the mach-o object file
for PIC code generation.
tested on powerpc-darwin8, validated against darwin otool -rvV
llvm-svn: 188004
2013-08-08 20:14:40 +00:00
Alexey Samsonov
1021d4d06d
Fix off-by-one error in Regex::isValid
...
llvm-svn: 187992
2013-08-08 17:32:45 +00:00
Niels Ole Salscheider
20c4077bf5
R600/SI: Implement fp32<->fp64 conversions
...
llvm-svn: 187988
2013-08-08 16:06:15 +00:00
Niels Ole Salscheider
74ee40da2a
R600/SI: Implement sint<->fp64 conversions
...
llvm-svn: 187987
2013-08-08 16:06:08 +00:00
Jakub Staszak
cb5ff9e1e0
Use pop_back() instead of pop_back_val() when the returned value is not used.
...
llvm-svn: 187986
2013-08-08 15:48:46 +00:00
Silviu Baranga
0291b43e25
Remove the now redundant FeatureFP16 from the Cortex-A15 feature list. It was made redundant when FeatureVFP4 was added which implies FP16.
...
llvm-svn: 187985
2013-08-08 15:47:33 +00:00
Jakub Staszak
7d775148c4
Fix the comment.
...
llvm-svn: 187984
2013-08-08 15:19:25 +00:00
Benjamin Kramer
ef710e7620
Use EXPECT_TRUE/EXPECT_FALSE to avoid bogus warnings from the guts of gtest.
...
llvm-svn: 187976
2013-08-08 11:17:39 +00:00
Andrea Di Biagio
36954f2af6
test commit.
...
llvm-svn: 187974
2013-08-08 10:46:36 +00:00
Mihai Popa
cda7008bd4
The name "tCDP" isn't used anywhere else in the source code, so renaming it for consistency doesn't cause any problems.
...
This is the only Thumb2 instruction defined with "t" prefix; all other Thumb2 instructions have "t2" prefix (e.g. "t2CDP2" which is defined immediately afterwards).
Patch by Artyom Skrobov.
llvm-svn: 187973
2013-08-08 10:20:41 +00:00
Eric Christopher
f54f91b57c
DISubprogram metadata have an MDNode representing which base type
...
contains the vtable pointer for the class as the operand at index
12. Replace the i32 0 with a null MDNode.
llvm-svn: 187970
2013-08-08 08:35:37 +00:00
Evgeniy Stepanov
eb8342b22f
Disable inlining between sanitized and non-sanitized functions.
...
Inlining between functions with different values of sanitize_* attributes
leads to over- or under-sanitizing, which is always bad.
llvm-svn: 187967
2013-08-08 08:22:39 +00:00
Eric Christopher
49a1db3fce
For DW_TAG_template_type_parameter the actual passed in type could
...
be void and therefore not have a type entry. Only add the type if
it is non-void and provide a testcase.
llvm-svn: 187966
2013-08-08 08:09:43 +00:00
Craig Topper
093dffb1a8
Remove AllUndef check from one of the loops in getVectorShuffle. It was already handled by the 'AllLHS && AllRHS' check after the previous loop.
...
llvm-svn: 187965
2013-08-08 08:03:12 +00:00
Eric Christopher
19fba84128
The conversion to bool is fine here, no need to check isType.
...
llvm-svn: 187964
2013-08-08 07:40:42 +00:00
Eric Christopher
e6639b8535
Make sure that if we're going to attempt to add a type to a DIE that
...
the type exists.
Fix up cases where we weren't checking for optional types and add
an assert to addType to make sure we catch this in the future.
Fix up a testcase that was using the tag for DW_TAG_array_type
when it meant DW_TAG_enumeration_type.
llvm-svn: 187963
2013-08-08 07:40:37 +00:00
Eric Christopher
4725619d96
Change variable name and reflow formatting.
...
llvm-svn: 187962
2013-08-08 07:40:31 +00:00
Craig Topper
8a5e83ba97
Optimize mask generation for one of the DAG combiner shufflevector cases.
...
llvm-svn: 187961
2013-08-08 07:38:55 +00:00