Manman Ren
0cc91bd60a
DebugInfo Verifier: verify the actual type.
...
llvm-svn: 186972
2013-07-23 18:14:25 +00:00
Ahmed Bougacha
8d011cdc00
Revert "Remove use of asymmetric std::lower_bound comparator."
...
This reverts commit r185676.
Originally done because of VS 2008.
llvm-svn: 186969
2013-07-23 17:44:11 +00:00
Ahmed Bougacha
57345fecc8
docs: Update old VS 2008 references.
...
llvm-svn: 186968
2013-07-23 17:44:01 +00:00
Ahmed Bougacha
0591744b98
docs: cleanup VS 2008 release note.
...
Remove trailing ')'. Sorry about all that, should be good now!
llvm-svn: 186965
2013-07-23 17:32:57 +00:00
Ahmed Bougacha
a53f182294
docs: Correct reST link.
...
llvm-svn: 186963
2013-07-23 17:28:35 +00:00
Ahmed Bougacha
3041073b41
Update docs to drop support for VS 2008.
...
llvm-svn: 186961
2013-07-23 17:25:26 +00:00
Rafael Espindola
cc9afb9150
Add not so that these tests pass with pipefail enabled.
...
llvm-svn: 186939
2013-07-23 13:18:20 +00:00
Rafael Espindola
f71859b862
Add -disable-debug-info-verifier.
...
Found while testing with pipefail enabled.
llvm-svn: 186937
2013-07-23 12:31:37 +00:00
Rafael Espindola
bc0d1fb30f
Fix the build in c++03 mode.
...
llvm-svn: 186935
2013-07-23 11:02:16 +00:00
Rafael Espindola
081f6f185f
Add an initial implementation of archive symbol table generation.
...
The symbol table has forward references in the file. Instead of allocating
a temporary buffer or counting the size and then writing, this implementation
writes a dummy value first and patches it once the final value is known.
There is room for performance improvement. I will implement them as soon as I
get some other features (like a ranlib mode) in.
llvm-svn: 186934
2013-07-23 10:47:01 +00:00
Craig Topper
11e78f4bb0
Remove some errant space charcters in mnemonic strings.
...
llvm-svn: 186932
2013-07-23 06:45:34 +00:00
Shuxin Yang
dcc00fd59f
remove unnecessary space
...
llvm-svn: 186931
2013-07-23 06:44:34 +00:00
NAKAMURA Takumi
8a95447142
llvm/test/DebugInfo/X86/dbg-value-range.ll: Add -disable-debug-info-verifier, too, since r186902.
...
llvm-svn: 186930
2013-07-23 06:41:51 +00:00
Craig Topper
6c816aee2a
Remove 'else' after 'return'. No functional change.
...
llvm-svn: 186929
2013-07-23 06:27:36 +00:00
Craig Topper
e053d0d3ac
Remove trailing whitespace.
...
llvm-svn: 186928
2013-07-23 06:25:00 +00:00
Craig Topper
c7bcbfdf42
Don't let x86 asm printer use the no operand movsd alias. It should use the normal movsl instead.
...
llvm-svn: 186924
2013-07-23 01:50:47 +00:00
Tom Stellard
e096e3c298
R600: Add support for 24-bit MAD instructions
...
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186923
2013-07-23 01:48:49 +00:00
Tom Stellard
803a4c6e50
R600: Add support for 24-bit MUL instructions
...
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186922
2013-07-23 01:48:42 +00:00
Tom Stellard
705721da31
R600: Improve support for < 32-bit loads
...
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186921
2013-07-23 01:48:35 +00:00
Tom Stellard
fa0b944f18
R600: Rename AMDILISelDAGToDAG.cpp -> AMDGPUISelDAGToDAG.cpp
...
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186920
2013-07-23 01:48:29 +00:00
Tom Stellard
bc9deba8ad
R600: Move CONST_ADDRESS folding into AMDGPUDAGToDAGISel::Select()
...
This increases the number of opportunites we have for folding. With the
previous implementation we were unable to fold into any instructions
other than the first when multiple instructions were selected from a
single SDNode.
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186919
2013-07-23 01:48:24 +00:00
Tom Stellard
e60bb5f272
R600: Use KCache for kernel arguments
...
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186918
2013-07-23 01:48:18 +00:00
Tom Stellard
c35ac4a061
R600: Simplify assembly for KCache registers using the TableGen !add operator
...
Before:
MOV * T0.W, KC0[131-128].Y
After:
MOV * T0.W, KC0[3].Y
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186917
2013-07-23 01:48:08 +00:00
Tom Stellard
6ca248c89f
R600: Use the same compute kernel calling convention for all GPUs
...
A side-effect of this is that now the compiler expects kernel arguments
to be 4-byte aligned.
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186916
2013-07-23 01:48:05 +00:00
Tom Stellard
ac10764020
R600: Use correct LoadExtType when lowering kernel arguments
...
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186915
2013-07-23 01:47:58 +00:00
Tom Stellard
d7dd88a3f7
R600: Clean up extended load patterns
...
Reviewed-by: Vincent Lejeune <vljn at ovi.com>
llvm-svn: 186914
2013-07-23 01:47:52 +00:00
Tom Stellard
25ce190913
R600: Expand vector FNEG
...
llvm-svn: 186913
2013-07-23 01:47:46 +00:00
Craig Topper
693606b026
Revert r186907 to fix bots.
...
llvm-svn: 186910
2013-07-23 01:29:37 +00:00
Craig Topper
5337e87594
Don't let x86 asm printer use the no operand movsd alias. It should use the normal movsl instead.
...
llvm-svn: 186907
2013-07-23 01:21:36 +00:00
Craig Topper
5399a0520e
Add aliases to map 'imm, mem' form of x86 bts/btr/btc without a size suffix to their 32-bit forms.
...
This makes them consistent with 'bt' which already had this handling. gas has the same behavior. There have been discussions on the mailing list about determining size based on the immediate, but my goal here was just to remove the inconsistency.
llvm-svn: 186904
2013-07-23 00:56:15 +00:00
Manman Ren
3a6f508b6b
Debug Info Finder: use processDeclare and processValue to list debug info
...
MDNodes used by DbgDeclareInst and DbgValueInst.
Another 16 testing cases failed and they are disabled with
-disable-debug-info-verifier.
A total of 34 cases are disabled with -disable-debug-info-verifier and will be
corrected.
llvm-svn: 186902
2013-07-23 00:22:51 +00:00
Craig Topper
f89dce68af
Explicitly don't let the asm printer use the clrb/w/l aliases for xor %reg, %reg.
...
It only didn't use it before because it seems InstAlias handling in the asm printer fails to count tied operands so it tried to find an xor with 2 operands instead of the 3 it wfails to count tied.
llvm-svn: 186900
2013-07-23 00:15:19 +00:00
Craig Topper
22b26f24f4
Suppress argumentless aliases for some x86 FP operations from being used by the asm writer. Prefer to use the explicit %st(1) form.
...
llvm-svn: 186897
2013-07-23 00:03:33 +00:00
Matt Arsenault
31d9958696
Fix typo (ponted -> pointed)
...
llvm-svn: 186896
2013-07-22 23:52:23 +00:00
Nick Lewycky
80c6b2a977
Remove extraneous null statement. No functionality change!
...
llvm-svn: 186893
2013-07-22 23:38:27 +00:00
Jakub Staszak
ad1f6af5a0
Use switch instead of if. No functionality change.
...
llvm-svn: 186892
2013-07-22 23:38:16 +00:00
Jakub Staszak
cb88203090
Remove trailing spaces.
...
llvm-svn: 186890
2013-07-22 23:16:36 +00:00
Eli Bendersky
44a6964953
Add a simple unit test for MemoryBuffer::getOpenFile
...
llvm-svn: 186887
2013-07-22 22:46:21 +00:00
Eric Christopher
b0a060ff50
Typo.
...
llvm-svn: 186886
2013-07-22 22:25:09 +00:00
Eric Christopher
86c1654e7b
80-column tidying. Formatting choices by clang-format.
...
llvm-svn: 186885
2013-07-22 22:25:07 +00:00
Nadav Rotem
383f980dca
When we vectorize across multiple basic blocks we may vectorize PHINodes that create a cycle. We already break the cycle on phi-nodes, but arithmetic operations are still uplicated. This patch adds code that checks if the operation that we are vectorizing was vectorized during the visit of the operands and uses this value if it can.
...
llvm-svn: 186883
2013-07-22 22:18:07 +00:00
Jakub Staszak
9e648c8d0e
OldPtr is llvm::Instruction. Remove unneeded cast<>.
...
llvm-svn: 186880
2013-07-22 22:10:43 +00:00
Richard Trieu
d4dca46a3e
Silence gcc warning.
...
llvm-svn: 186879
2013-07-22 21:29:28 +00:00
Kevin Enderby
4f4de8ba04
Fix the move to/from accumulator register instructions that use a full 64-bit
...
absolute address encoded in the instruction.
rdar://8612627 and rdar://14299221
llvm-svn: 186878
2013-07-22 21:25:31 +00:00
Jakub Staszak
11159a5a91
Change tabs to spaces.
...
llvm-svn: 186877
2013-07-22 21:11:30 +00:00
Jakub Staszak
ba65057867
Fix typo in test.
...
llvm-svn: 186876
2013-07-22 21:10:42 +00:00
Michael Gottesman
48939ede3a
[stackprotector] Changed isNoopBitcast/sameNoopInput to take TargetLoweringBase instead of TargetLowering.
...
Both functions only use functionality from TargetLoweringBase.
rdar://13935163
llvm-svn: 186874
2013-07-22 21:05:47 +00:00
Craig Topper
86b83be14d
Recommit r186813: More Intel syntax alias fixes. With the addition of suppressing some of the aliases from being emitted by the asm printer.
...
llvm-svn: 186869
2013-07-22 20:46:37 +00:00
Michael Gottesman
062dd20303
[stackprotector] Refactored ssp prologue creation code into its own helper function.
...
No functionality change.
rdar://13935163
llvm-svn: 186868
2013-07-22 20:44:11 +00:00
Manman Ren
24b63d9007
Debug Info Finder: add processScope to actually handle the Scope.
...
Instead of just adding the scope to the list, we actually handle the scope.
llvm-svn: 186867
2013-07-22 20:28:53 +00:00