mirror of https://github.com/Cisco-Talos/clamav
Tag:
Branch:
Tree:
847d7fc1b8
0.95
0.96
0.97
0.98
0.98.1
0.98.2
0.98.3
0.98.4
0.98.5
0.98.6
0.98.7
0.99
0.99.1
0.99.2
0.99.3
CLAM-2277-ExtractImagesFromOle2
CLAM-2787-pdf-rendering-pdfium
dev/0.103.12
dev/1.0.6
dev/1.0.7
dev/1.0.8
dev/1.2.3
dev/1.3.1
dev/1.3.2
dev/1.4.1
dev/1.4.2
feature/integrate-clamav-sys
main
rel/0.100
rel/0.101
rel/0.102
rel/0.103
rel/0.104
rel/0.105
rel/0.99
rel/1.0
rel/1.1
rel/1.2
rel/1.3
rel/1.4
0.93.3
0.94.1rc1
CLAMAV_090RC1
CLAMAV_090RC2
CLAMAV_090RC3
CLAMAV_0_70
CLAMAV_0_71
CLAMAV_0_80
CLAMAV_0_80RC
CLAMAV_0_80RC1
CLAMAV_0_80RC3
CLAMAV_0_80RC4
CLAMAV_0_81
CLAMAV_0_84RC1
clamav-0.100-beta
clamav-0.100.0
clamav-0.100.0-rc
clamav-0.100.1
clamav-0.100.2
clamav-0.100.3
clamav-0.101.0
clamav-0.101.0-beta
clamav-0.101.0-rc
clamav-0.101.1
clamav-0.101.2
clamav-0.101.3
clamav-0.101.4
clamav-0.101.5
clamav-0.102.0
clamav-0.102.0-beta
clamav-0.102.0-rc
clamav-0.102.1
clamav-0.102.2
clamav-0.102.3
clamav-0.102.4
clamav-0.103.0
clamav-0.103.0-rc
clamav-0.103.0-rc2
clamav-0.103.1
clamav-0.103.10
clamav-0.103.11
clamav-0.103.12
clamav-0.103.2
clamav-0.103.3
clamav-0.103.4
clamav-0.103.5
clamav-0.103.6
clamav-0.103.7
clamav-0.103.8
clamav-0.103.9
clamav-0.104.0
clamav-0.104.0-rc2
clamav-0.104.1
clamav-0.104.2
clamav-0.104.3
clamav-0.104.4
clamav-0.105.0
clamav-0.105.0-rc
clamav-0.105.0-rc2
clamav-0.105.1
clamav-0.105.2
clamav-0.70
clamav-0.70@2754
clamav-0.70@502
clamav-0.71
clamav-0.71@2754
clamav-0.71@565
clamav-0.72
clamav-0.72@594
clamav-0.73
clamav-0.73@612
clamav-0.74
clamav-0.74@643
clamav-0.75
clamav-0.75.1
clamav-0.80
clamav-0.80@1021
clamav-0.80@2754
clamav-0.80rc
clamav-0.80rc1
clamav-0.80rc1@1265
clamav-0.80rc1@2754
clamav-0.80rc3
clamav-0.80rc3@2754
clamav-0.80rc3@939
clamav-0.80rc4
clamav-0.80rc4@2754
clamav-0.80rc4@988
clamav-0.80rc@2754
clamav-0.80rc@909
clamav-0.81
clamav-0.81@1286
clamav-0.81@2754
clamav-0.82
clamav-0.83
clamav-0.84
clamav-0.84rc1
clamav-0.84rc1@1466
clamav-0.84rc1@2754
clamav-0.84rc2
clamav-0.85
clamav-0.85.1
clamav-0.86
clamav-0.86.1
clamav-0.86.2
clamav-0.86rc1
clamav-0.87
clamav-0.87.1
clamav-0.88
clamav-0.88.1
clamav-0.88.2
clamav-0.88.3
clamav-0.88.4
clamav-0.88.5
clamav-0.88.6
clamav-0.88.7
clamav-0.90
clamav-0.90.1
clamav-0.90@2749
clamav-0.90rc1
clamav-0.90rc1@2403
clamav-0.90rc1@2754
clamav-0.90rc2
clamav-0.90rc2@2468
clamav-0.90rc2@2754
clamav-0.90rc3
clamav-0.90rc3@2666
clamav-0.90rc3@2754
clamav-0.91
clamav-0.91rc2
clamav-0.92
clamav-0.92_sf
clamav-0.92rc1
clamav-0.92rc2
clamav-0.93
clamav-0.93.1rc1
clamav-0.94
clamav-0.94.1
clamav-0.94.1rc1
clamav-0.94.2
clamav-0.94rc1
clamav-0.95
clamav-0.95.1
clamav-0.95.2
clamav-0.95.3
clamav-0.95rc1
clamav-0.95rc2
clamav-0.96
clamav-0.96.1
clamav-0.96.2
clamav-0.96.3
clamav-0.96.4
clamav-0.96.5
clamav-0.96rc1
clamav-0.96rc2
clamav-0.97
clamav-0.97.1
clamav-0.97.2
clamav-0.97.3
clamav-0.97.4
clamav-0.97.5
clamav-0.97.6
clamav-0.97.7
clamav-0.97.8
clamav-0.97rc
clamav-0.98
clamav-0.98-dmgxar
clamav-0.98.1
clamav-0.98.1rc
clamav-0.98.2
clamav-0.98.3
clamav-0.98.4
clamav-0.98.4-rc1
clamav-0.98.5
clamav-0.98.5-rc1
clamav-0.98.5-rc2
clamav-0.98.5beta
clamav-0.98.6
clamav-0.98.7
clamav-0.98rc
clamav-0.98rc2
clamav-0.99
clamav-0.99-beta1
clamav-0.99-beta2
clamav-0.99-rc1
clamav-0.99-rc2
clamav-0.99.1
clamav-0.99.1-beta1
clamav-0.99.2
clamav-0.99.3
clamav-0.99.3-beta1
clamav-0.99.3-beta2
clamav-0.99.4
clamav-1.0.0
clamav-1.0.0-rc
clamav-1.0.0-rc2
clamav-1.0.1
clamav-1.0.2
clamav-1.0.3
clamav-1.0.4
clamav-1.0.5
clamav-1.0.6
clamav-1.0.7
clamav-1.0.8
clamav-1.1.0
clamav-1.1.0-rc
clamav-1.1.1
clamav-1.1.2
clamav-1.1.3
clamav-1.2.0
clamav-1.2.0-rc
clamav-1.2.1
clamav-1.2.2
clamav-1.2.3
clamav-1.3.0
clamav-1.3.0-rc
clamav-1.3.0-rc2
clamav-1.3.1
clamav-1.3.2
clamav-1.4.0
clamav-1.4.0-rc
clamav-1.4.1
clamav-1.4.2
clamav-1.5.0-beta
clamav-20080204
merge-llvm-79908
merge-llvm-80601
merge-llvm-83242
merge-llvm-90002
merge-llvm-91214
merge-llvm-91428
merge-llvm-92222
merge-llvm-94539
merge-llvm-97877
r5076
start
test_prefilter_enable
test_prefilter_enable2
test_prefiltering_disable
${ noResults }
5544 Commits (847d7fc1b8b268f60a7423ab8e8ff88580c845c6)
Author | SHA1 | Message | Date |
---|---|---|---|
![]() |
761c97e537 |
The hashset's bitmap needs only capacity/32 memory, not capacity/8.
|
16 years ago |
![]() |
6f1d98ebaf |
add _noalloc hashset functions requested by aCaB.
This allows to bzero the hashset struct, and make key lookups on it (they'll all return false) without actually allocating any memory. When you really want to add some keys, you _init and _addkey/_removekey as usual which will allocate memory. |
16 years ago |
![]() |
ec616ce0c5 |
libclamav: fix error reporting for BinHex files (bb#1685)
|
16 years ago |
![]() |
d2ba6f98bb |
matching complete
|
16 years ago |
![]() |
8997b14725 |
bswap.
|
16 years ago |
![]() |
b3571ea9ae |
Fix __*di3 libcalls on x86-32.
On 32-bit targets LLVM emits libcalls for 64-bit operations. Make sure these libcalls actually map to our own functions, and not to 0. Also reject any other libcall we don't know about instead of mapping to 0 and crashing. |
16 years ago |
![]() |
01b695fd42 |
fix error message
|
16 years ago |
![]() |
17cfd76f5b |
libclamav: add support for FileSize, EntryPoint and NumberOfSections in lsig's tdb
|
16 years ago |
![]() |
4cf78d9e19 |
sigtool/sigtool.c: handle lsigs created by the bytecode compiler
|
16 years ago |
![]() |
7d54e23149 |
sigtool/sigtool.c: properly handle anchored sigs (bb#1780)
|
16 years ago |
![]() |
587d41cae7 |
Update win32 proj.
|
16 years ago |
![]() |
c52e92748e |
Fix some warnings from clang++ bytecode2llvm.cpp.
|
16 years ago |
![]() |
973f086a7d |
Regenerate auto-generated files.
|
16 years ago |
![]() |
b8fd8f0748 |
Update Makefile for new LLVM.
|
16 years ago |
![]() |
ae1be98809 |
Update to LLVM upstream r92222.
Squashed commit of the following: commit 4d06dfc51403e0e54eb688a3a9fb1839ea2136a6 Author: Benjamin Kramer <benny.kra@googlemail.com> Date: Mon Dec 28 12:27:56 2009 +0000 Add missing include (for inline PATypeHolder::get). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92222 91177308-0d34-0410-b5e6-96231b3b80d8 commit e05a9ea766a0b81c710a044887cfc22d6f36a664 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 09:32:10 2009 +0000 avoid a completely unneeded linear walk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92221 91177308-0d34-0410-b5e6-96231b3b80d8 commit 104369f82cb166e9c446c3e844136811466916b3 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 09:24:53 2009 +0000 Eliminate two bits of ugliness in MDNode::replaceElement: eliminate the temporary smallvector, and only do FindNodeOrInsertPos twice if the first one succeeds and we delete a node. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92220 91177308-0d34-0410-b5e6-96231b3b80d8 commit a7bbe9111b1caea1c424c73bbba6338eedd96d65 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 09:12:35 2009 +0000 rearrange some methods, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92219 91177308-0d34-0410-b5e6-96231b3b80d8 commit cc1d027f0654706031bf0e6d7c57ede4dfc41373 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 09:10:16 2009 +0000 avoid temporary CallbackVH's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92218 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3716bc64a3ee906a6e40e6847ac915daa01e4919 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 09:07:21 2009 +0000 Rewrite the function-local validation logic for MDNodes (most of r91708). Among other benefits, this doesn't leak the SmallPtrSet, has the verifier code in the verifier pass, actually does the verification at the end, and is considerably simpler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92217 91177308-0d34-0410-b5e6-96231b3b80d8 commit 894c992754b4095a0546181a0701674a3a696477 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 08:48:12 2009 +0000 rename MDNode instance variables to something meaningful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92216 91177308-0d34-0410-b5e6-96231b3b80d8 commit a89d238baa1ac500515df35491d0c7480ec87bf0 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 08:30:43 2009 +0000 snip one more #include from Metadata.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92214 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4ba716d8d60ff7b6e0e07bce48bcb68bcffa1388 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 08:26:43 2009 +0000 prune #includes more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92213 91177308-0d34-0410-b5e6-96231b3b80d8 commit 62a41720e49584820202799556c757518e23d3cf Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 08:24:16 2009 +0000 prune some #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92212 91177308-0d34-0410-b5e6-96231b3b80d8 commit 749a4129c976d4895f231f0fbfddf9c54c17ac1b Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 08:20:46 2009 +0000 Metadata.h doesn't need to include ValueHandle.h anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92211 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6c8fe40711f3cf363831d95a63322a5963233f0a Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 08:14:54 2009 +0000 change the strange MetadataContext::getMDs function to expose less irrelevant internal implementation details to clients. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92210 91177308-0d34-0410-b5e6-96231b3b80d8 commit febd655fa44c568fa3a80af56aed9955ff797157 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 08:07:14 2009 +0000 change NamedMDNode to use a pimpl for its operand list instead of making it a declared part of the value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92209 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3f465e4a2ed122934f187b6e0761c9268a200cb0 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 07:57:01 2009 +0000 eliminate the elem_* iterator stuff from NamedMDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92208 91177308-0d34-0410-b5e6-96231b3b80d8 commit da60d2e518af314a29eb38402e70a77b05fc5d32 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 07:41:54 2009 +0000 move ElementVH out of the MDNode class into the MDNode.cpp file. Among other things, this avoids vtable and rtti data for it being splatted in every translation unit that uses it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92207 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2df342071750e4ecc7dfec0fc108efd69967401d Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 28 07:41:18 2009 +0000 move these out of their own timer groups into the 'uncategorized' groups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92206 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4f6dce81500015dbe2f7763bc88a74df9dc177f7 Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Mon Dec 28 04:53:24 2009 +0000 Fixed llc crash for zext (i1 -> i8) loads. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92201 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2f6348092dd3411c4bf41fb146945b6f5f387562 Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Mon Dec 28 02:40:33 2009 +0000 Allow targets to specify the return type of libcalls that are generated for floating point comparisons, rather than hard-coding them as i32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92199 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4ab9372471bf169547c6c11eb1432d2c3fa06615 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 02:07:00 2009 +0000 Mark variable used by 'assert' as 'unused'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92198 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4e0224c4aa4b517723e2e950c00850422a7f083a Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 02:05:36 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92197 91177308-0d34-0410-b5e6-96231b3b80d8 commit 39dd182871d4a9068a18d8d84e63983fc3a9d256 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 02:04:53 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92196 91177308-0d34-0410-b5e6-96231b3b80d8 commit f7e76f7cae0da2b59d8e6173723007f69a769f70 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 02:01:06 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92195 91177308-0d34-0410-b5e6-96231b3b80d8 commit 83e5f56eb04727ac461cfa6354882bd9649f6f7f Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 02:00:30 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92194 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0077d08de74578e474f611872454275c125a0656 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:57:39 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92193 91177308-0d34-0410-b5e6-96231b3b80d8 commit e9c887a2902d05fa600b59ccda2b22f2af1ed76d Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:54:15 2009 +0000 Remove dead store. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92192 91177308-0d34-0410-b5e6-96231b3b80d8 commit a18ebc30a2abf0fe66b55af79518ed8c4b06f7c6 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:53:00 2009 +0000 Remove dead store and simplify code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92191 91177308-0d34-0410-b5e6-96231b3b80d8 commit 70ef837cf7e36be18d866d67bf374ed62a58f6fb Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:51:30 2009 +0000 Remove dead store. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92190 91177308-0d34-0410-b5e6-96231b3b80d8 commit a6d452859e652c22b193c00abadb48aefc427ef4 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:48:56 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92189 91177308-0d34-0410-b5e6-96231b3b80d8 commit 96d90c5c9b8a19e5e4f902e28430353fda2a2dd0 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:47:48 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92188 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4a223745a9f77c21863ca8b2725836092b38977a Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:44:39 2009 +0000 Remove dead store. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92187 91177308-0d34-0410-b5e6-96231b3b80d8 commit c3e9be4e2bd703b642872ad835a93ebf79f8f465 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:42:12 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92186 91177308-0d34-0410-b5e6-96231b3b80d8 commit 94fff552bffee0a421218b26f228ebd0d1f7a7d0 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:41:12 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92185 91177308-0d34-0410-b5e6-96231b3b80d8 commit da097dc64ce517757c11b1345dab55dfa19bb14e Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:36:02 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92184 91177308-0d34-0410-b5e6-96231b3b80d8 commit b537cbf815f7aa6a62504cb9b69ec0402a1313f5 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:34:57 2009 +0000 Mark some debug variables as 'unused' to quiet compiler and analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92183 91177308-0d34-0410-b5e6-96231b3b80d8 commit dc6c4ad2c7f1b207357abbe2f954c4df14b6f455 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:31:11 2009 +0000 Remove dead store. The initial value was never used, but always overridden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92182 91177308-0d34-0410-b5e6-96231b3b80d8 commit b1e55ab7b75ee6d8bc8418f06b36fa77234276a8 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:20:29 2009 +0000 Add an "ATTRIBUTE_UNUSED" macro (and use it). It's for variables which are mainly used in debugging and/or assert situations. It should make the compiler and the static analyzer stop nagging us about them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92181 91177308-0d34-0410-b5e6-96231b3b80d8 commit 89b41234a06c9062f112e6f9f9b2a0311c8166ff Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:02:21 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92180 91177308-0d34-0410-b5e6-96231b3b80d8 commit 26af2111a96acb02a4f7dfa6815381a1979336eb Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:01:14 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92179 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8eb19339daa81669e709d65a479c1e837874a5b1 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 28 01:00:12 2009 +0000 Remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92178 91177308-0d34-0410-b5e6-96231b3b80d8 commit c53dde98400a169d8a2aee60fd9e9749a0f1de3f Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 26 22:58:39 2009 +0000 lit: Add setuptools support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92169 91177308-0d34-0410-b5e6-96231b3b80d8 commit c989d308a138180b0188cbe3d3c89497167a1a0b Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 26 22:58:23 2009 +0000 lit: Sink code into a 'lit' package. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92168 91177308-0d34-0410-b5e6-96231b3b80d8 commit 824050a388d1beb1428686ea886b1ea77d4dee94 Author: Eli Friedman <eli.friedman@gmail.com> Date: Sat Dec 26 20:08:30 2009 +0000 PR5886: Make sure IMUL32m is marked as setting EFLAGS, so scheduling doesn't do illegal stuff around it. No testcase because the issue is very fragile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92167 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7c5c0b12976c75ccdfd95a241525281e6061908c Author: Bill Wendling <isanbard@gmail.com> Date: Fri Dec 25 13:50:18 2009 +0000 Avoid assigning to Changed when it won't be used after the return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92160 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0f0db31d8ee1ee48e20755a0fa6d4da5100aade2 Author: Bill Wendling <isanbard@gmail.com> Date: Fri Dec 25 13:45:50 2009 +0000 Remove dead store. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92159 91177308-0d34-0410-b5e6-96231b3b80d8 commit 90cd35e334e96b73cb0e68b126377e8f65d519fc Author: Bill Wendling <isanbard@gmail.com> Date: Fri Dec 25 13:44:36 2009 +0000 Remove dead store from copy-pasto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92158 91177308-0d34-0410-b5e6-96231b3b80d8 commit d5cc74ccc7b1398736393e1634fa1e37a22ea2c3 Author: Bill Wendling <isanbard@gmail.com> Date: Fri Dec 25 13:39:58 2009 +0000 Remove dead store. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92157 91177308-0d34-0410-b5e6-96231b3b80d8 commit ea340ea46c96dec8ba5dcb655474a3e811e956ca Author: Bill Wendling <isanbard@gmail.com> Date: Fri Dec 25 13:37:27 2009 +0000 Remove dead store. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92156 91177308-0d34-0410-b5e6-96231b3b80d8 commit 220675b0f99b21cf7cb8a92f77d581708787ac3e Author: Bill Wendling <isanbard@gmail.com> Date: Fri Dec 25 13:35:40 2009 +0000 Use the 'MadeChange' variable instead of returning 'false' all of the time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92155 91177308-0d34-0410-b5e6-96231b3b80d8 commit a1c4df64381a1795a44ac6f6342a40b024fa07e1 Author: John McCall <rjmccall@apple.com> Date: Thu Dec 24 23:18:09 2009 +0000 Implement support for converting to string at "natural precision", and fix some major bugs in long-precision conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92150 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9825c55a5a3a557c54c1af48bfb5954ddfbafc6c Author: Douglas Gregor <doug.gregor@gmail.com> Date: Thu Dec 24 21:15:37 2009 +0000 Move the two definitions of operator<< into namespace llvm, so they will be found by argument-dependent lookup. As with the previous commit, GCC is allowing ill-formed code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92146 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1e69877669f44c5efd3b1f989aa32cdb362f3d27 Author: Douglas Gregor <doug.gregor@gmail.com> Date: Thu Dec 24 21:11:45 2009 +0000 Define the new operator<< for sets into namespace std, so that argument-dependent lookup can find it. This is another case where an LLVM bug (not making operator<< visible) was masked by a GCC bug (looking in the global namespace when it shouldn't). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92144 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3e573a9f0b82197ece967593d38d55799ada0572 Author: Daniel Dunbar <daniel@zuster.org> Date: Thu Dec 24 17:49:28 2009 +0000 Don't emit trailing semicolon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92133 91177308-0d34-0410-b5e6-96231b3b80d8 commit 08cdb8a64f60f7737892f16ccab52acd1057d8e1 Author: John McCall <rjmccall@apple.com> Date: Thu Dec 24 12:16:56 2009 +0000 Substantially optimize APFloat::toString() by doing a single large divide to cut the significand down to the desired precision *before* entering the core divmod loop. Makes the overall algorithm logarithmic in the exponent. There's still a lot of room for improvement here, but this gets the performance back down to acceptable-for-diagnostics levels, even for long doubles. negligible, even on long doubles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92130 91177308-0d34-0410-b5e6-96231b3b80d8 commit f7d9cb2b8c27f4785f1d5a50a13fbb74b9a6e028 Author: John McCall <rjmccall@apple.com> Date: Thu Dec 24 08:56:26 2009 +0000 Add accessors for the largest-magnitude, smallest-magnitude, and smallest-normalized-magnitude values in a given FP semantics. Provide an APFloat-to-string conversion which I am quite ready to admit could be much more efficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92126 91177308-0d34-0410-b5e6-96231b3b80d8 commit c77cc1794d1e2f70ad0b1b8ccd5e1661cd1c55c2 Author: John McCall <rjmccall@apple.com> Date: Thu Dec 24 08:52:06 2009 +0000 Set Remainder before Quotient in case Quotient and LHS alias. The new order should be immune to such problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92124 91177308-0d34-0410-b5e6-96231b3b80d8 commit f35785f5df44d1908b82d87c9edd3d2b93f84022 Author: Dale Johannesen <dalej@apple.com> Date: Thu Dec 24 01:10:43 2009 +0000 Testcase for llvm-gcc checkin 92108. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92110 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1d0ad3b99ec52705b0256dfd0421344511028b32 Author: Chris Lattner <sabre@nondot.org> Date: Thu Dec 24 01:07:17 2009 +0000 handle equality memcmp of 8 bytes on x86-64 with two unaligned loads and a compare. On other targets we end up with a call to memcmp because we don't want 16 individual byte loads. We should be able to use movups as well, but we're failing to select the generated icmp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92107 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6d922b408462129adb924b960e81ac65077fab5a Author: David Greene <greened@obbligato.org> Date: Thu Dec 24 00:39:02 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92099 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8a34688bac4bb0ec549e82da03d912282d364492 Author: Chris Lattner <sabre@nondot.org> Date: Thu Dec 24 00:37:38 2009 +0000 move an optimization for memcmp out of simplifylibcalls and into SDISel. This optimization was causing simplifylibcalls to introduce type-unsafe nastiness. This is the first step, I'll be expanding the memcmp optimizations shortly, covering things that we really really wouldn't want simplifylibcalls to do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92098 91177308-0d34-0410-b5e6-96231b3b80d8 commit 55f2a677a444fb3db1cf6b679f261d242b8636d1 Author: David Greene <greened@obbligato.org> Date: Thu Dec 24 00:34:21 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92097 91177308-0d34-0410-b5e6-96231b3b80d8 commit 259191f8260ce170bac8eba3e221c35e93d2778e Author: David Greene <greened@obbligato.org> Date: Thu Dec 24 00:31:35 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92096 91177308-0d34-0410-b5e6-96231b3b80d8 commit 32c864e1d29d12c6156ce242458f4668e5acb211 Author: David Greene <greened@obbligato.org> Date: Thu Dec 24 00:27:55 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92094 91177308-0d34-0410-b5e6-96231b3b80d8 commit c0e0771a5c8a082bffed6d4bcea8d6f41b186bfb Author: David Greene <greened@obbligato.org> Date: Thu Dec 24 00:14:25 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92093 91177308-0d34-0410-b5e6-96231b3b80d8 commit 081d4ccced881523716f5017bf619546a2e7ab43 Author: David Greene <greened@obbligato.org> Date: Thu Dec 24 00:06:26 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92092 91177308-0d34-0410-b5e6-96231b3b80d8 commit b74668684da4ed870af49851ef26b0d526c77401 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:47:53 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92091 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3a94535216c37f5c33a40b1a88a32a735077c3ff Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:38:28 2009 +0000 Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92088 91177308-0d34-0410-b5e6-96231b3b80d8 commit ff374c2b59fe114b6910a40285deed40230f1208 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:29:28 2009 +0000 Change dbgs() back to errs() as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92086 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4151dd0bbf6a685586b8fecf4037a7a27456f944 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:27:15 2009 +0000 Change dbgs() back to errs() as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92085 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5878b32788cee3c581890e775e1d8fcc8d55ccc5 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 23 23:24:51 2009 +0000 reorder to follow a normal fall-through style, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92084 91177308-0d34-0410-b5e6-96231b3b80d8 commit aa3571123711181442ca28841946762622336a2b Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:23:15 2009 +0000 Clarify how dbgs() operates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92083 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5e0a6b7dfd1f5ea140018bf1e30f1924d0a1c87e Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:19:43 2009 +0000 Fix a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92082 91177308-0d34-0410-b5e6-96231b3b80d8 commit 702481a81b95fed36e43478d719bf0f0deebd262 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:14:41 2009 +0000 Change dbgs() back to errs() for assert messages as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92081 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6350f81d59920edcfd8b44ac6b66af0c7ff18113 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:09:39 2009 +0000 Change dbgs() back to errs() for assert messages as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92080 91177308-0d34-0410-b5e6-96231b3b80d8 commit aeeb42419cc76d1fd44b1fe3fd4f4140ee2c3961 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 23 23:03:24 2009 +0000 sizeof(char) is always 1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92079 91177308-0d34-0410-b5e6-96231b3b80d8 commit d5fad3b9406fcfda51c31bd559edd61d7ef44d27 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 23:00:50 2009 +0000 Change dbgs() back to errs() for assert messages as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92077 91177308-0d34-0410-b5e6-96231b3b80d8 commit dfea7e628a030fc5f15cbdd757ff661b7d834fd8 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 22:59:29 2009 +0000 Change dbgs() back to errs() for assert messages as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92076 91177308-0d34-0410-b5e6-96231b3b80d8 commit ce4d5136399a6a07388495c762e294986895d926 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 22:58:38 2009 +0000 Remove dump routine and the associated Debug.h from a header. Patch up other files to compensate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92075 91177308-0d34-0410-b5e6-96231b3b80d8 commit 053e91a4308e9fa66c1af1a7019ce45c71606f28 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 22:49:57 2009 +0000 Change dbgs() back to errs() as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92073 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0a32a9d73bc8035a13c6241433d6e70a2d4290fb Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 22:35:10 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92071 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9561c821ce2afaad4926e2830ed9f30cb27f29d7 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 22:28:01 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92068 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6778bc905cce16db6b5b1be049a42ad1e0c9fddb Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 22:18:14 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92067 91177308-0d34-0410-b5e6-96231b3b80d8 commit dc874baf87b0799d6f6c576b718b33691d7259dd Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 22:10:20 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92066 91177308-0d34-0410-b5e6-96231b3b80d8 commit 96a47017353e6883b2484cc5811c72118fbbd404 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 21:58:29 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92063 91177308-0d34-0410-b5e6-96231b3b80d8 commit ce32cf00cc1f35e1d4cc5e00d611bcde720ce9da Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 21:48:18 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92060 91177308-0d34-0410-b5e6-96231b3b80d8 commit 01295bc07f8f0a55e3498827a5bfc3ee0a386f50 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Wed Dec 23 21:34:03 2009 +0000 Move kill flags when the same register occurs more than once in a sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92058 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2a98a2f5a8b106b2abfcb2b1e8b6c2cb49311951 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Wed Dec 23 21:28:42 2009 +0000 Handle undef operands properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92054 91177308-0d34-0410-b5e6-96231b3b80d8 commit ecae21aaf03469b5b0dd06b256425ae03a560b47 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Wed Dec 23 21:28:37 2009 +0000 Make insert position available to MergeOpsUpdate. Rearrange arguments. No functional changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92053 91177308-0d34-0410-b5e6-96231b3b80d8 commit 07be4590c1626617747d7b7922e17273a73e4c17 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Wed Dec 23 21:28:31 2009 +0000 Perform kill flag calculations in new method. No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92052 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7c119d7d49e4c86b04e942d8ae5ac8721e2ca9a4 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Wed Dec 23 21:28:23 2009 +0000 Move repeated code to a new method. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92051 91177308-0d34-0410-b5e6-96231b3b80d8 commit 07cc79a1623ca8414da9255543762abe8a8037d9 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 21:27:29 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92050 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6ff267f2711ec600d9458749bef022b8a6476ab4 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 21:16:54 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92048 91177308-0d34-0410-b5e6-96231b3b80d8 commit a80ab14e95be6b6ea2c7fa2b57398b830fe6beb5 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 21:06:14 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92046 91177308-0d34-0410-b5e6-96231b3b80d8 commit 00532a28dca9a915557626b73b4d089108ce85cb Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 20:52:41 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92042 91177308-0d34-0410-b5e6-96231b3b80d8 commit d120239be2123affddcadf85d9ce6cdf75e4f064 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 20:43:58 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92040 91177308-0d34-0410-b5e6-96231b3b80d8 commit ad44e7d5a9e226bf9b3aa54763e83fc51273a969 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 20:34:27 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92039 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4a60d180d7fe86436196abb37f8b767da07cd30d Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 20:20:46 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92037 91177308-0d34-0410-b5e6-96231b3b80d8 commit db4dd0d7e4a22a5c0ae0ca9970b649fc5ad0082a Author: Daniel Dunbar <daniel@zuster.org> Date: Wed Dec 23 20:13:44 2009 +0000 Remove an XFAIL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92036 91177308-0d34-0410-b5e6-96231b3b80d8 commit f17f28ba4b1067d125d577d52864810ef7733e61 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 20:10:59 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92035 91177308-0d34-0410-b5e6-96231b3b80d8 commit aa7455dbb5c01cac91b9a254981cb381324a1b9f Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 20:03:58 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92034 91177308-0d34-0410-b5e6-96231b3b80d8 commit 13e07bacee394735a7a604ffd4fdaf15b8384c95 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 19:51:44 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92033 91177308-0d34-0410-b5e6-96231b3b80d8 commit d02176108f777e643dd1b34e70675c3c3892fe21 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 19:45:49 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92032 91177308-0d34-0410-b5e6-96231b3b80d8 commit bb782751a0a6c7f4997f8afc75124241b0a07f94 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 19:27:59 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92029 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8323720790f8a7b2ccb57d0ed927c406c7ada2ff Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 19:21:19 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92026 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9177c9c21f5bade02492fdb1b1cae0d772108f21 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 19:15:13 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92024 91177308-0d34-0410-b5e6-96231b3b80d8 commit 514e97429ecef0dd9f8a483e2dbe3dc8de47b73d Author: Douglas Gregor <doug.gregor@gmail.com> Date: Wed Dec 23 19:12:50 2009 +0000 Alternative fix to make sure that the extern declarations used by DynamicLibrary::SearchForAddressOfSymbol refer to declarations in the global namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92023 91177308-0d34-0410-b5e6-96231b3b80d8 commit afaefaaf3d83a920746492a48e70c7343f2df5e1 Author: Douglas Gregor <doug.gregor@gmail.com> Date: Wed Dec 23 19:04:10 2009 +0000 Revert 92020 until I figure out a more portable fix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92021 91177308-0d34-0410-b5e6-96231b3b80d8 commit 852b0c0e84467eab2076b2014b54843b15b06b1e Author: Douglas Gregor <doug.gregor@gmail.com> Date: Wed Dec 23 18:56:27 2009 +0000 Move the extern symbol declarations outside of DynamicLibrary::SearchForAddressOfSymbol and force them to have "C" linkage. Interestingly, GCC treats the block-scoped "extern" declarations we previously had as if they were extern "C" declarations (or, at least, were in the global namespace), so that GCC bug papered over this LLVM bug. Clang and EDG get the linkage correct; this new variant seems to work for both GCC and Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92020 91177308-0d34-0410-b5e6-96231b3b80d8 commit a21b0c41a131b8eaf95cc441e519923a380ea19c Author: Douglas Gregor <doug.gregor@gmail.com> Date: Wed Dec 23 18:27:13 2009 +0000 Fix another -Wmismatched-tags warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92017 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7cc2dbba20994329d71739adc9e54d63e95f37a5 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 18:25:37 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92016 91177308-0d34-0410-b5e6-96231b3b80d8 commit a28b20c236ba2ec1c466f612a84c8b965f60ea81 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 17:55:11 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92013 91177308-0d34-0410-b5e6-96231b3b80d8 commit dc8b5720c49dd593865b6ed1e18928e5e038000e Author: Nuno Lopes <nunoplopes@sapo.pt> Date: Wed Dec 23 17:48:10 2009 +0000 move a few more symbols to .rodata git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92011 91177308-0d34-0410-b5e6-96231b3b80d8 commit d25af07faae782ffd616b13b2d8dadd1e229a0f9 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 17:24:22 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92006 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2531b82af471667ff2ffcab9eb801b77f04ec0f6 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 17:18:22 2009 +0000 Convert debug messages to use dbgs(). Generally this means s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92005 91177308-0d34-0410-b5e6-96231b3b80d8 commit aa80e75a467dd54a9e2007f29ff99aa8fd42626d Author: Douglas Gregor <doug.gregor@gmail.com> Date: Wed Dec 23 17:05:07 2009 +0000 Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92004 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5efd48c6c7c43ed1d8eadb79c17260b15f472f38 Author: Douglas Gregor <doug.gregor@gmail.com> Date: Wed Dec 23 17:03:46 2009 +0000 De-bork CMake build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92003 91177308-0d34-0410-b5e6-96231b3b80d8 commit bb6f927871a16e14c3b78ec1382d75fe82197bd4 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 16:39:06 2009 +0000 Provide dbgs(), a circular-buffering debug output stream. By default it simply passes output to errs(). If -debug-buffer-size=N is set N > 0, dbgs() buffers its output until program termination and dumps the last N characters sent to it. This is handy when debugging very large inputs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92002 91177308-0d34-0410-b5e6-96231b3b80d8 commit 825e4b5c9261d0c2ee58c5a771c1331fbfdc8885 Author: David Greene <greened@obbligato.org> Date: Wed Dec 23 16:08:15 2009 +0000 Add circular_raw_ostream, which buffers its output in a circular queue and outputs it when explicitly flushed. The intent is to use it in situations such as debug output logging where a signal handler can take care of flushing the buffer at program termination. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92001 91177308-0d34-0410-b5e6-96231b3b80d8 commit 236c4bde3fd5143cf9ea997a9863e4a3caaf9210 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Wed Dec 23 12:50:03 2009 +0000 Make it easier to regenerate docs when srcdir != objdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92000 91177308-0d34-0410-b5e6-96231b3b80d8 commit 388266107e740ca794485b3a585def2883956f6f Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Wed Dec 23 12:49:51 2009 +0000 Regenerate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91999 91177308-0d34-0410-b5e6-96231b3b80d8 commit 509f9240d37ecbdcabf1d3157a6140322030706b Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Wed Dec 23 12:49:41 2009 +0000 Cosmetic issue: more consistent naming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91998 91177308-0d34-0410-b5e6-96231b3b80d8 commit 27d15f58084d6b25bdec9c65eacc2821cb1b9d73 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Wed Dec 23 12:49:30 2009 +0000 Allow (set_option SwitchOption, true). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91997 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5bb804eb2f89c971a5860a6e0bb0f6f5d58a8ef7 Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Wed Dec 23 11:19:09 2009 +0000 Reapply 91904. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91996 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1f01e330bad7cb24d966bf9e51cfa8c4afbdb4d1 Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Wed Dec 23 10:56:02 2009 +0000 Added missing patterns for subtract instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91995 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5316fa5d7262c48b511104e64664f7b8938a5d6b Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Wed Dec 23 10:35:24 2009 +0000 deleting empty file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91994 91177308-0d34-0410-b5e6-96231b3b80d8 commit 391ab2127fb765c0c3fedd0e8db7ac440524353e Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Wed Dec 23 09:46:01 2009 +0000 Reverting back 91904. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91993 91177308-0d34-0410-b5e6-96231b3b80d8 commit f81e44d0fe15207bd331798aee58a3c95c39a4b8 Author: Dale Johannesen <dalej@apple.com> Date: Wed Dec 23 07:32:51 2009 +0000 Use more sensible type for flags in asms. PR 5570. Patch by Sylve`re Teissier (sorry, ASCII only). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91988 91177308-0d34-0410-b5e6-96231b3b80d8 commit fb2367dd4da70f93d7b83b41c6c00d857358b139 Author: Eric Christopher <echristo@apple.com> Date: Wed Dec 23 02:51:48 2009 +0000 Update objectsize intrinsic and associated dependencies. Fix lowering code and update testcases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91979 91177308-0d34-0410-b5e6-96231b3b80d8 commit 25a9b18b58d5c85ad531ca50ac8e81acdf3ffd76 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 23 01:46:40 2009 +0000 really remove the instruction, don't just comment it out git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91976 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0e34f628addb0a70b0f28ada176693cd30f9349a Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 23 01:45:04 2009 +0000 completely eliminate the MOV16r0 'instruction'. The only interesting part of this is the divrem changes, which are already tested by CodeGen/X86/divrem.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91975 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8a8951e0e3247ddcfa1b0b4486cb77ceb1985a9a Author: Sean Callanan <scallanan@apple.com> Date: Wed Dec 23 01:32:29 2009 +0000 More fixes for Visual C++. Replaced several very small static inline functions with macros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91973 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1ef8bc9fb5cb8ea6d404809565bdc7088b85f948 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 23 01:30:26 2009 +0000 stop pattern matching 16-bit zero's of a register to MOV16r0, instead use the appropriate subreggy thing. This generates identical code on some large apps (thanks to Evan's cross class coalescing stuff he did back in july). This means that MOV16r0 can go away completely in the future soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91972 91177308-0d34-0410-b5e6-96231b3b80d8 commit f70c94554077d2291b6867a2f24e1cd40f2337d1 Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 23 01:28:19 2009 +0000 Remove superfluous SDNode ordering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91971 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2be082890768917e7360194b667a7fdb81b140b3 Author: Jeffrey Yasskin <jyasskin@google.com> Date: Wed Dec 23 00:58:02 2009 +0000 Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's not implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91963 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1e5b9ec2b938c3eb3ef527f254d7200a720e351c Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 23 00:47:20 2009 +0000 Remove node ordering from inline asm nodes. It's not needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91961 91177308-0d34-0410-b5e6-96231b3b80d8 commit ac0bfeb8b0af333e4167dbe6e15ff335ce7b67e1 Author: Daniel Dunbar <daniel@zuster.org> Date: Wed Dec 23 00:45:10 2009 +0000 Suppress compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91959 91177308-0d34-0410-b5e6-96231b3b80d8 commit 92b889c9eb3ea14a43dcc2ec7ee64d319a3156d3 Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 23 00:44:51 2009 +0000 Remove node ordering from VA nodes. It's not needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91958 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9b4cefa1b947151b3f2178cf3aabec2642e7582b Author: Eric Christopher <echristo@apple.com> Date: Wed Dec 23 00:29:49 2009 +0000 Update docs for bitcode changes. For object size checking we won't work with partial objects so just count the type as a boolean. Update appropriately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91954 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5b000faeb29370a0c4cb395368f4d026b74c1db7 Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 23 00:28:23 2009 +0000 Revert r91949 r91942 and r91936. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91953 91177308-0d34-0410-b5e6-96231b3b80d8 commit 25ae075ab2194cfc445b001c65fa3bf73d65fa93 Author: Gabor Greif <ggreif@gmail.com> Date: Wed Dec 23 00:18:40 2009 +0000 restore 'make update' functionality by not ignoring 'clang' here git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91950 91177308-0d34-0410-b5e6-96231b3b80d8 commit b24f6e8dd614f6e99af0caeedcbb79160d09e09c Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 23 00:05:09 2009 +0000 Finish up node ordering in ExpandNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91949 91177308-0d34-0410-b5e6-96231b3b80d8 commit f55eba02e15f4dce951d3aef8e1e83c2c9fed762 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Tue Dec 22 23:54:54 2009 +0000 Add coalescer asserts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91945 91177308-0d34-0410-b5e6-96231b3b80d8 commit c6986e5d47b2c955e77994fb40bcd2f6c2f2038e Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Tue Dec 22 23:54:44 2009 +0000 Add a SPR register class to the ARM target. Certain Thumb instructions require only SP (e.g. tSTRspi). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91944 91177308-0d34-0410-b5e6-96231b3b80d8 commit daad0b43625ca69376938361b466ef42fbdd9776 Author: Jeffrey Yasskin <jyasskin@google.com> Date: Tue Dec 22 23:47:23 2009 +0000 Partially revert r91626. Materializing extra functions to determine whether they're available_externally broke VMKit, which was relying on the fact that functions would only be materialized when they were first called. We'll have to wait for http://llvm.org/PR5737 to really fix this. I also added a test for one of the F->isDeclaration() calls which wasn't covered by anything else in the test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91943 91177308-0d34-0410-b5e6-96231b3b80d8 commit c969f4b0e7b5df3a854b3d41285a26dc34c4b855 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 23:44:56 2009 +0000 Assign ordering to nodes created in ExpandNode. Only roughly 1/2 of the function is finished. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91942 91177308-0d34-0410-b5e6-96231b3b80d8 commit 14a5e3e29709da3c3297a739a06127f367628bef Author: Jeffrey Yasskin <jyasskin@google.com> Date: Tue Dec 22 23:18:18 2009 +0000 Fix a crash in JIT::recompileAndRelinkFunction(). It doesn't pass the MCI argument to runJITOnFunction(), which caused a null pointer dereference at every call. Patch by Gianluca Guida! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91939 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0ee0a9f4d4ac6941cb03bb0e9bd88520221a0b45 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 22:53:39 2009 +0000 Assign ordering to SDNodes in PromoteNode. Also fixing a subtle bug where BSWAP was using "Tmp1" in the first getNode call instead of Node->getOperand(0). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91936 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7043d80affa413b00d8ec2e205e26772e29c2429 Author: Sean Callanan <scallanan@apple.com> Date: Tue Dec 22 22:51:40 2009 +0000 Removed the "inline" keyword from the disassembler decoder, because the Visual C++ build does not build .c files as C99 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91935 91177308-0d34-0410-b5e6-96231b3b80d8 commit 34879e45cd8129131ce21558aa92cc2f8876574d Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 22:50:29 2009 +0000 rename HexDisassembler -> Disassembler, it works on any input integer encoding (0123, 0b10101, 42, etc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91934 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6913818399687ea52e6cce639dcf4e17fbd232c6 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 22:47:43 2009 +0000 just discard the debug output from the disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91933 91177308-0d34-0410-b5e6-96231b3b80d8 commit 70abd22a14353cb48d63cc24c311343ce2bb5a7a Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Tue Dec 22 22:37:23 2009 +0000 Add testcase for PR5703 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91931 91177308-0d34-0410-b5e6-96231b3b80d8 commit cc48d238c088e790bf368544b45ba3f43b632877 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Tue Dec 22 21:52:27 2009 +0000 Remove minimal CFG sanity checks from verifier. These checks would often trigger on unreachable statements inserted by bugpoint, leading it astray. It would be nice if we could distinguish unreachable blocks from errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91923 91177308-0d34-0410-b5e6-96231b3b80d8 commit f040bcb2c5d8edb446938db365ad2cc031822a9b Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Tue Dec 22 21:48:20 2009 +0000 Allow explicit %reg0 operands beyond what the .td file describes. ARM uses these to indicate predicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91922 91177308-0d34-0410-b5e6-96231b3b80d8 commit 798c23dcf69e484ae19906869e940bc6b7872117 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 21:35:02 2009 +0000 Allow 0 as an order number. Don't assign an order to formal arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91920 91177308-0d34-0410-b5e6-96231b3b80d8 commit b53da77b6aaf950b6a59166ddaa5541326c4e43b Author: Sean Callanan <scallanan@apple.com> Date: Tue Dec 22 21:12:55 2009 +0000 Fixes to the X86 disassembler: Made LEA memory operands emit only 4 MCInst operands. Made the scale operand equal 1 for instructions that have no SIB byte. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91919 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1e2dadd738efd7725ad8de7e064c2d67384f7ed4 Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Tue Dec 22 20:11:00 2009 +0000 Restore snprintf weirdness for VCPP only git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91918 91177308-0d34-0410-b5e6-96231b3b80d8 commit 42806e669ce6482a6268d64ab4d0b53c07ccea70 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 19:33:28 2009 +0000 Fix the Convert to scalar to not insert dead loads in the store case. The load is needed when we have a small store into a large alloca (at which point we get a load/insert/store sequence), but when you do a full-sized store, this load ends up being dead. This dead load is bad in really large nasty testcases where the load ends up causing mem2reg to insert large chains of dependent phi nodes which only ADCE can delete. Instead of doing this, just don't insert the dead load. This fixes rdar://6864035 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91917 91177308-0d34-0410-b5e6-96231b3b80d8 commit b0798ce7b64a048bb502c7cf954cd89484940e46 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 19:23:33 2009 +0000 fix some fixme's by using twines git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91916 91177308-0d34-0410-b5e6-96231b3b80d8 commit fd628a53c45c84a9b6058a26fb58ac8063d7f937 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Tue Dec 22 18:49:55 2009 +0000 Use proper move instructions. Make the verifier happy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91914 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8e4381a943076f3c22a07729e3e2fc528d13a369 Author: Bob Wilson <bob.wilson@apple.com> Date: Tue Dec 22 18:34:19 2009 +0000 Report an error for bad inline assembly, where the value passed for an "indirect" operand is not a pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91913 91177308-0d34-0410-b5e6-96231b3b80d8 commit f8420485b61d066ed0a876a35cf3098769e1905c Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 22 17:47:23 2009 +0000 Remove target attribute break-sse-dep. Instead, do not fold load into sse partial update instructions unless optimizing for size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91910 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1c794cc4f30e9b35a9d2aec6f5b6e05dce42a2b7 Author: Douglas Gregor <doug.gregor@gmail.com> Date: Tue Dec 22 17:25:11 2009 +0000 Include based on the current path, since we already -I the X86 target's path. Fixes CMake build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91908 91177308-0d34-0410-b5e6-96231b3b80d8 commit c3828a78a14f37cdf98db1a905ea51fdbd03a5b4 Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Tue Dec 22 14:25:37 2009 +0000 While converting one of the operands to a memory operand, we need to check if it is Legal and does not result into a cyclic dep. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91904 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7dafc1537eed6c94009aca694090c5a7d280d1ea Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 07:03:21 2009 +0000 specify what is invalid about it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91901 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1b67a19c78e9d7936eedd0d607dd56a849a5ae88 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 07:01:12 2009 +0000 specify a triple to use, fixing the test on non-x86-64 hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91900 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0e0dc43e679050600081a316ea18a09d292d47e8 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 06:58:29 2009 +0000 reject invalid input with a caret, e.g.: simple-tests.txt:16:1: error: invalid instruction 0xff 0xff ^ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91898 91177308-0d34-0410-b5e6-96231b3b80d8 commit bf24dfc6ea2873cce92ad5c10e8ec8c26e4b40f1 Author: Bob Wilson <bob.wilson@apple.com> Date: Tue Dec 22 06:57:14 2009 +0000 Generalize SROA to allow the first index of a GEP to be non-zero. Add a missing check that an array reference doesn't go past the end of the array, and remove some redundant checks for in-bound array and vector references that are no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91897 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7a30eb39c8801739c9a3cc139ea00a16d38140f9 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 06:56:51 2009 +0000 various cleanups, make the disassemble reject lines with too much data on them, for example: addb %al, (%rax) simple-tests.txt:11:5: error: excess data detected in input 0 0 0 0 0 ^ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91896 91177308-0d34-0410-b5e6-96231b3b80d8 commit e409a0ed6b8c66f9f4f0f3cef584af8d6dd013a0 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 06:45:48 2009 +0000 If you thought that it didn't make sense for the disassembler to not produce caret diagnostics, you were right! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91895 91177308-0d34-0410-b5e6-96231b3b80d8 commit d57f7cd43e80255b87f213e58611407add7b335d Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 06:37:58 2009 +0000 rewrite the file parser for the disassembler, implementing support for comments. Also, check in a simple testcase for the disassembler, including a test for r91864 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91894 91177308-0d34-0410-b5e6-96231b3b80d8 commit 713e9712579faccc6f8760586bf6cbb777c5e2ed Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 06:24:00 2009 +0000 don't crash on blank lines, rename some variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91892 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9d4f9105490cb5cad700f117ffa1b84c9a3e6b0a Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 06:07:30 2009 +0000 Implement PR5795 by merging duplicated return blocks. This could go further by merging all returns in a function into a single one, but simplifycfg currently likes to duplicate the return (an unfortunate choice!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91890 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7d85a53fad48d627c6e4a17771ebcd46cfc4db6e Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 06:04:26 2009 +0000 convert to filecheck git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91889 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6c85d89d85046de478b62c7448927db2e4b87121 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 04:47:41 2009 +0000 don't run GVN at -O1, GCC doesn't do it's equivalent at that optimization level. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91886 91177308-0d34-0410-b5e6-96231b3b80d8 commit 873e26746bd3c642fbc9947a6dcf500c0995f3cb Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 04:25:02 2009 +0000 The phi translated pointer can be computed when returning a partially cached result instead of stored. This reduces memdep memory usage, and also eliminates a bunch of weakvh's. This speeds up gvn on gcc.c-torture/20001226-1.c from 23.9s to 8.45s (2.8x) on a different machine than earlier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91885 91177308-0d34-0410-b5e6-96231b3b80d8 commit bf9d0f9154274adb84a66c0581dd9529f0b83ea1 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 02:10:19 2009 +0000 Add more plumbing. This time in the LowerArguments and "get" functions which return partial registers. This affected the back-end lowering code some. Also patch up some places I missed before in the "get" functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91880 91177308-0d34-0410-b5e6-96231b3b80d8 commit 919f267795692f9df06fef0ee620411534c819aa Author: Sean Callanan <scallanan@apple.com> Date: Tue Dec 22 02:07:42 2009 +0000 Changed REG_* to MODRM_REG_* to avoid conflicts with symbols in AuroraUX's global namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91879 91177308-0d34-0410-b5e6-96231b3b80d8 commit 42c4404dd4b7162b06f56fd82dc779b0b3d13837 Author: Daniel Dunbar <daniel@zuster.org> Date: Tue Dec 22 01:41:37 2009 +0000 Fix some may-be-uninitialized var warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91878 91177308-0d34-0410-b5e6-96231b3b80d8 commit 16ded292991e3e288f1d9deb3e33a5268f1cd6fb Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 01:38:23 2009 +0000 fix unit test that I broke. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91877 91177308-0d34-0410-b5e6-96231b3b80d8 commit b22e7af680a571467d80a6b5fd5661525010ded5 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 01:25:10 2009 +0000 Add SDNode ordering to inlined asm and VA functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91876 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7581e0c8ad813a3f6c6c0d357b7ced37ed3dfb67 Author: Eric Christopher <echristo@apple.com> Date: Tue Dec 22 01:23:51 2009 +0000 Whitespace fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91875 91177308-0d34-0410-b5e6-96231b3b80d8 commit f1bed4b1cef55bb83753e34e0929c4b10bcc0074 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 01:17:43 2009 +0000 types don't need atomic inc/dec, they are local to an llvmcontext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91873 91177308-0d34-0410-b5e6-96231b3b80d8 commit 05a245f41d40f8be120b7d131a7ce16c17dc47d3 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 01:11:43 2009 +0000 Adding more assignment of ordering to SDNodes. This time in the "call" and generic copy functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91872 91177308-0d34-0410-b5e6-96231b3b80d8 commit a116e5e520689a75baf513fa8d2cba65e0be743a Author: Sean Callanan <scallanan@apple.com> Date: Tue Dec 22 01:11:26 2009 +0000 Fixed library dependencies between the X86 disassembler and X86 codegen that were causing circular symbol dependencies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91871 91177308-0d34-0410-b5e6-96231b3b80d8 commit fc86f8cc6c57cb3329675f4fc8ec868fed7a1fe1 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 01:00:32 2009 +0000 avoid calling extractMallocCall when it's obvious we don't have a call. This speeds up memdep ~1.5% git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91869 91177308-0d34-0410-b5e6-96231b3b80d8 commit d42a013740b839251387f41e40bad6a80552dae8 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 00:51:57 2009 +0000 comment fix: weakvh -> tracking vh git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91867 91177308-0d34-0410-b5e6-96231b3b80d8 commit 16c7988cb5516a7686c51c2387eb3eef3858893c Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 00:50:32 2009 +0000 Add ordering of SDNodes to LowerCallTo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91866 91177308-0d34-0410-b5e6-96231b3b80d8 commit 437f3c269851340bf66d9f5b64f04df846781e13 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 22 00:44:05 2009 +0000 print pcrel immediates as signed values instead of unsigned so that we get things like this out of the disassembler: 0x100000ecb: callq -96 instead of: 0x100000ecb: callq 4294967200 rdar://7491123 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91864 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3b72641d65a254c01921e4f767003279383daba4 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 00:40:51 2009 +0000 Now add ordering to SDNodes created by the massive intrinsic lowering function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91863 91177308-0d34-0410-b5e6-96231b3b80d8 commit f406ec5e612f8958fb8ea7c6b5b129753b0b8064 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 22 00:12:37 2009 +0000 To make things interesting, I added MORE code to set the ordering of SDNodes. This time in the load/store and limited-precision code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91860 91177308-0d34-0410-b5e6-96231b3b80d8 commit 87476f66ef1998ff5d93a2cb413ba10a1413d21b Author: Lang Hames <lhames@gmail.com> Date: Tue Dec 22 00:11:50 2009 +0000 Changed slot index ranges for MachineBasicBlocks to be exclusive of endpoint. This fixes an in-place update bug where code inserted at the end of basic blocks may not be covered by existing intervals which were live across the entire block. It is also consistent with the way ranges are specified for live intervals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91859 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1c01aa9daf0ba64f48ab7c3ffe81a7c51b2006fa Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 21 23:47:40 2009 +0000 Add more plumbing to assign ordering to SDNodes. Have the "getValue" method assign the ordering when called. Combine some of the ordering assignments to keep things simple. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91857 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4137a8aa60914101aa1ad7f1a7dfe12c0b35607c Author: Daniel Dunbar <daniel@zuster.org> Date: Mon Dec 21 23:27:57 2009 +0000 Add suggested parentheses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91853 91177308-0d34-0410-b5e6-96231b3b80d8 commit 79479fcf0a878ea487fd745920c106d5c860a723 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 23:15:48 2009 +0000 Add a fastpath to Load GVN to special case when we have exactly one dominating load to avoid even messing around with SSAUpdate at all. In this case (which is very common, we can just use the input value directly). This speeds up GVN time on gcc.c-torture/20001226-1.c from 36.4s to 16.3s, which still isn't great, but substantially better and this is a simple speedup that applies to lots of different cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91851 91177308-0d34-0410-b5e6-96231b3b80d8 commit b8d65d5bf97d41881148b3ce93f634a9ac3903ab Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 21 23:10:19 2009 +0000 More ordering plumbing. This time for GEP. I need to remember to assign orderings to values returned by getValue(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91850 91177308-0d34-0410-b5e6-96231b3b80d8 commit fe213dba0d5785b3dfa97a22f0d20aaf9982e3f3 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 23:04:33 2009 +0000 refactor some code out to a new helper method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91849 91177308-0d34-0410-b5e6-96231b3b80d8 commit b702ceab37bdb90e32041f6ae1b5085a82abd4c8 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 22:43:03 2009 +0000 improve indentation avoid a pointless conversion from weakvh to trackingvh, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91848 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2a33d37c9f1e5ef0c7f5bcdb1c488540d42f3f67 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 21 22:42:14 2009 +0000 Another incremental check-in for assigning ordering to SDNodes. This time for shuffle and insert vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91847 91177308-0d34-0410-b5e6-96231b3b80d8 commit ef4620fe2846df5790119fd45e62e28f6f490b3e Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 21 22:30:11 2009 +0000 Assign ordering to more instructions. Incremental check-in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91846 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4852546f88da1386e3f36ad7c0e270f0798a3dea Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 21 21:59:52 2009 +0000 - Add a bit more plumbing assigning an order to SDNodes. - Modify the "dump" method to emit the order of an SDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91845 91177308-0d34-0410-b5e6-96231b3b80d8 commit 29296e63554a23d2e8a7ccc7c1b776dd52346e1c Author: David Greene <greened@obbligato.org> Date: Mon Dec 21 21:21:34 2009 +0000 Fix a bug in !subst where TableGen would go and resubstitute text it had just substituted. This could cause infinite looping in certain pathological cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91843 91177308-0d34-0410-b5e6-96231b3b80d8 commit df70e60850a5c0b905cd23e84e44e677dc6c03e7 Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Mon Dec 21 20:19:37 2009 +0000 Remove uber-gross hack. The define _snprintf to snprintf is invalid due to two reasons: 1. Accroding to C++ standard snprintf should be available in std namespace (and __gnu_cxx in case of GCC to). Such ifdef will change all snprintf's to _snprintf's, but won't bring snprintf to all necessary namespaces. Thus e.g. any locale-using code on mingw will yield an error (include this file + string to see the result) 2. MSVCRT's _snprintf does not comply with C99 standard. Standard one is snprintf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91842 91177308-0d34-0410-b5e6-96231b3b80d8 commit 38150fc924f6aa5ba056d738d8ecd75cbc4f8778 Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Mon Dec 21 20:18:49 2009 +0000 Mark FPW as allocable when frame address is taken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91841 91177308-0d34-0410-b5e6-96231b3b80d8 commit 708808ae99856d00af548177ea42e18d4ad32dc8 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 21 19:59:38 2009 +0000 First wave of plumbing for assigning an ordering to SDNodes. This takes care of a lot of the branching instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91838 91177308-0d34-0410-b5e6-96231b3b80d8 commit e35f67f9527538257e684574bdf21392be2c92bf Author: Evan Cheng <evan.cheng@apple.com> Date: Mon Dec 21 19:53:39 2009 +0000 Delete the instruction just before the function terminates for consistency sake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91836 91177308-0d34-0410-b5e6-96231b3b80d8 commit d58e7f8655f246d9bbda9ba4933e1906a5690dc8 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 21 19:34:59 2009 +0000 Place SDNodeOrdering.h in the directory it's used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91834 91177308-0d34-0410-b5e6-96231b3b80d8 commit 962018b8231c524caba670c9dd19427eafd6f1fd Author: Bob Wilson <bob.wilson@apple.com> Date: Mon Dec 21 18:39:47 2009 +0000 Remove special-case SROA optimization of variable indexes to one-element and two-element arrays. After restructuring the SROA code, it was not safe to do this without adding more checking. It is not clear that this special-case has really been useful, and removing this simplifies the code quite a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91828 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7f5262f3ef1729d48a3e03f90192c053d27fa1e9 Author: Daniel Dunbar <daniel@zuster.org> Date: Mon Dec 21 17:31:59 2009 +0000 XFAIL these tests on powerpc, under the assumption that no one cares. If you care, feel free to fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91826 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5c6ab9595c06e46bd1670ce7a0a52852d9ff669f Author: Eric Christopher <echristo@apple.com> Date: Mon Dec 21 08:15:29 2009 +0000 Fix setting and default setting of code model for jit. Do this by allowing backends to override routines that will default the JIT and Static code generation to an appropriate code model for the architecture. Should fix PR 5773. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91824 91177308-0d34-0410-b5e6-96231b3b80d8 commit 76f683191bd6137f9177dca4686ead7d6944981b Author: Eli Friedman <eli.friedman@gmail.com> Date: Mon Dec 21 08:03:16 2009 +0000 A couple minor README updates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91823 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7abdd670070ff4c05b8e79c8d393b252e9cbf4d6 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 07:52:40 2009 +0000 improve compatibility with SWIG, patch by James Knight! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91822 91177308-0d34-0410-b5e6-96231b3b80d8 commit 860471ea8a2cf7e68285dd1351c51152518bd8e1 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 07:45:57 2009 +0000 revert r89298, which was committed without a testcase. I think the underlying PHI node insertion issue in SSAUpdate is fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91821 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2bf5b030a6357c2fb9ee937c0a7b907f9d995052 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 07:16:11 2009 +0000 fix PR5837 by having SSAUpdate reuse phi nodes for the 'GetValueInMiddleOfBlock' case, instead of inserting duplicates. A similar fix is almost certainly needed by the machine-level SSAUpdate implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91820 91177308-0d34-0410-b5e6-96231b3b80d8 commit c8785545bcf2d1e861969bdf0cdc3c506abf7163 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 07:15:15 2009 +0000 add a helper ctor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91819 91177308-0d34-0410-b5e6-96231b3b80d8 commit ccdbd097759b1f3feaa10a39b7cc23341da58dbd Author: Eli Friedman <eli.friedman@gmail.com> Date: Mon Dec 21 06:49:24 2009 +0000 Change StringRef::startswith and StringRef::endswith to versions which are a bit more verbose, but optimize to much shorter code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91817 91177308-0d34-0410-b5e6-96231b3b80d8 commit f171d4bff6fe4500beb60a3525e2c1e3b76d46b7 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 06:08:50 2009 +0000 add check lines for min/max tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91816 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6c88fd376d17c371454f88795bc0a6bb4b2e30e3 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 06:06:10 2009 +0000 really convert this to filecheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91815 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1ae148ac3895cc2204d32b84361bbebbb42384fb Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 06:03:05 2009 +0000 give instcombine some helper functions for matching MIN and MAX, and implement some optimizations for MIN(MIN()) and MAX(MAX()) and MIN(MAX()) etc. This substantially improves the code in PR5822 but doesn't kick in much elsewhere. 2 max's were optimized in pairlocalalign and one in smg2000. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91814 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3ee8750e43a6c4fd3baf29b50ff2f5144161f7eb Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 05:53:13 2009 +0000 filecheckize git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91813 91177308-0d34-0410-b5e6-96231b3b80d8 commit eecd79c9182748a08fa05cb57b410f45a894432a Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 04:04:05 2009 +0000 enhance x-(-A) -> x+A to preserve NUW/NSW. Use the presence of NSW/NUW to fold "icmp (x+cst), x" to a constant in cases where it would otherwise be undefined behavior. Surprisingly (to me at least), this triggers hundreds of the times in a few benchmarks: lencode, ldecode, and 466.h264ref seem to *really* like this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91812 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2dce671f9422bce436c74ad48a2b964d08bf2af9 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 03:19:28 2009 +0000 Optimize all cases of "icmp (X+Cst), X" to something simpler. This triggers a bunch in lencode, ldecod, spass, 176.gcc, 252.eon, among others. It is also the first part of PR5822 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91811 91177308-0d34-0410-b5e6-96231b3b80d8 commit fd6df61746f769d9195f057199a9d16a215c2396 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 21 03:11:05 2009 +0000 convert to filecheck git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91810 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2e4b507f989730839d48a1ea77845b3a4d8b3aa9 Author: Lang Hames <lhames@gmail.com> Date: Sat Dec 19 23:32:32 2009 +0000 Fixed use of phi param in SlotIndex constructors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91790 91177308-0d34-0410-b5e6-96231b3b80d8 commit d452037790a4653227a51c854409e3a151d9ca3d Author: Chris Lattner <sabre@nondot.org> Date: Sat Dec 19 21:29:22 2009 +0000 fix an overly conservative caching issue that caused memdep to cache a pointer as being unavailable due to phi trans in the wrong place. This would cause later queries to fail even when they didn't involve phi trans. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91787 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6fade252c5089e35a484d16b67dc3193d4744590 Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 19 21:27:30 2009 +0000 CMake: Update lib deps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91786 91177308-0d34-0410-b5e6-96231b3b80d8 commit cae7a4ce386dd7b01264acd17fce0453ce671e66 Author: Chris Lattner <sabre@nondot.org> Date: Sat Dec 19 20:56:53 2009 +0000 .llx is no more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91784 91177308-0d34-0410-b5e6-96231b3b80d8 commit d19bb92ed1e9b879ed5ad87ab0021bed0b21d1b9 Author: Chris Lattner <sabre@nondot.org> Date: Sat Dec 19 20:44:43 2009 +0000 fix inconsistent use of tabs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91783 91177308-0d34-0410-b5e6-96231b3b80d8 commit 70c75b50f227c44043294c642734da957925df59 Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 19 18:58:49 2009 +0000 Remove unused variable (noticed by clang++). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91780 91177308-0d34-0410-b5e6-96231b3b80d8 commit 05e9f7410481592f66c6169923d903f9c592d3c4 Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 19 17:11:53 2009 +0000 #if 0 out X86 disassembler for now, it is breaking the build in multiple places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91778 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5bdef5b8ec8fd24804c3017e27417788d03c3e3b Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Sat Dec 19 13:52:01 2009 +0000 Emit direction operand in binary insns that stores in memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91777 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4b40abc73cf4280ee01a3c40ecaab7834aa76796 Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Sat Dec 19 13:13:29 2009 +0000 Adding a bunch of options to the mcc16 driver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91776 91177308-0d34-0410-b5e6-96231b3b80d8 commit 333f2f2612d193b17a373c2643bf6033719e6998 Author: Nuno Lopes <nunoplopes@sapo.pt> Date: Sat Dec 19 12:07:00 2009 +0000 rename dprintf to dbgpritnf, in order to fix build with glibc (which already defines dprintf in stdio.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91775 91177308-0d34-0410-b5e6-96231b3b80d8 commit c6adb84d954dd57766b7f3dd1454dfe3e05f83b7 Author: Nuno Lopes <nunoplopes@sapo.pt> Date: Sat Dec 19 11:52:18 2009 +0000 fix build and while at it remove a redudant include git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91774 91177308-0d34-0410-b5e6-96231b3b80d8 commit d31fb873f66238f8ccd0edd157b1451e83ad796e Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Sat Dec 19 11:38:14 2009 +0000 Test cases for changes done in 91768. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91773 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6758957e00103d5df70147ac3552efcf4a28c3b5 Author: Sanjiv Gupta <sanjiv.gupta@microchip.com> Date: Sat Dec 19 08:26:25 2009 +0000 1. In indirect load/store insns , the name of fsr should be emitted as INDF. 2. include standard asmbly headers in generated asmbly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91768 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9731ea6739a2acc4c0b437f168dc6769f3808a98 Author: Douglas Gregor <doug.gregor@gmail.com> Date: Sat Dec 19 07:05:23 2009 +0000 Fix a bunch of little errors that Clang complains about when its being pedantic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91764 91177308-0d34-0410-b5e6-96231b3b80d8 commit 42becae4234059212beb68cfdd09ddf0e9ff7377 Author: Chris Lattner <sabre@nondot.org> Date: Sat Dec 19 07:01:15 2009 +0000 fix PR5827 by disabling the phi slicing transformation in a case where instcombine would have to split a critical edge due to a phi node of an invoke. Since instcombine can't change the CFG, it has to bail out from doing the transformation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91763 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2b827d0d4b3e378a70b894d130235274c56d4697 Author: Bob Wilson <bob.wilson@apple.com> Date: Sat Dec 19 06:53:17 2009 +0000 Update my SROA changes in response to review. * change FindElementAndOffset to return a uint64_t instead of unsigned, and to identify the type to be used for that result in a GEP instruction. * move "isa<ConstantInt>" to be first in conditional. * replace some dyn_casts with casts. * add a comment about handling mem intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91762 91177308-0d34-0410-b5e6-96231b3b80d8 commit e38b949bc7db6805bb2a77ca4d6068037cd8c2d5 Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 19 04:16:57 2009 +0000 More bzero -> memset that I missed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91757 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6861faed9cba02c3a49b856a4e728dce8c1b651d Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 19 04:16:48 2009 +0000 Add missing newlines at EOF (for clang++). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91756 91177308-0d34-0410-b5e6-96231b3b80d8 commit 299fdcebe71c89b3fc73923b44c4f0a9169e340d Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 19 03:31:50 2009 +0000 Use memset instead of bzero, its more portable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91754 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7566a55acf4fe9a69ad17887fea806d846ba7e98 Author: Douglas Gregor <doug.gregor@gmail.com> Date: Sat Dec 19 03:21:36 2009 +0000 Remove spurious semicolon. Thanks, Clang git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91752 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1a4f32c3c2eba982b658ac52f37f1d667960acea Author: Sean Callanan <scallanan@apple.com> Date: Sat Dec 19 02:59:52 2009 +0000 Table-driven disassembler for the X86 architecture (16-, 32-, and 64-bit incarnations), integrated into the MC framework. The disassembler is table-driven, using a custom TableGen backend to generate hierarchical tables optimized for fast decode. The disassembler consumes MemoryObjects and produces arrays of MCInsts, adhering to the abstract base class MCDisassembler (llvm/MC/MCDisassembler.h). The disassembler is documented in detail in - lib/Target/X86/Disassembler/X86Disassembler.cpp (disassembler runtime) - utils/TableGen/DisassemblerEmitter.cpp (table emitter) You can test the disassembler by running llvm-mc -disassemble for i386 or x86_64 targets. Please let me know if you encounter any problems with it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91749 91177308-0d34-0410-b5e6-96231b3b80d8 commit 232149a85f22b513b690ce6386cc8922b66b659b Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Sat Dec 19 02:04:23 2009 +0000 Bump alignment requirements for windows targets to achieve compartibility with vcpp. Based on patch by Michael Beck! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91745 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6a0bb8172b4327b725fd609028c9f8ceb8086d8d Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Sat Dec 19 02:04:00 2009 +0000 Use 4-arg getVTList) variant instead of generic one, when possible git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91744 91177308-0d34-0410-b5e6-96231b3b80d8 commit a3e53b706108ada456d24d6f2090b6a96b153569 Author: Dan Gohman <gohman@apple.com> Date: Sat Dec 19 01:47:13 2009 +0000 Delete unused code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91743 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6a1afd606983941b9db6a41029c238b2df0b520a Author: Dan Gohman <gohman@apple.com> Date: Sat Dec 19 01:46:34 2009 +0000 Fix a spello in a comment that Nick spotted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91742 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9cae1100652da2ac306c7b9d11446d8e4639b6d7 Author: Dan Gohman <gohman@apple.com> Date: Sat Dec 19 01:46:09 2009 +0000 Fix a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91741 91177308-0d34-0410-b5e6-96231b3b80d8 commit 09e76650fe1e6c21a06f0ef7f43b15c1f433e546 Author: Chris Lattner <sabre@nondot.org> Date: Sat Dec 19 01:38:42 2009 +0000 Make some methods const. The only interesting change here is that it changes raw_fd_ostream::preferred_buffer_size to return zero on a scary stat failure instead of setting the stream to an error state. This method really should not mutate the stream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91740 91177308-0d34-0410-b5e6-96231b3b80d8 commit 28039a48aebce267d2472eb5e143f19c68354ac9 Author: John McCall <rjmccall@apple.com> Date: Sat Dec 19 00:55:12 2009 +0000 Qualify a bunch of explicit template instantiations to satisfy clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91736 91177308-0d34-0410-b5e6-96231b3b80d8 commit fb0624b1443a68698a41e40e479b6910e6a18a57 Author: John McCall <rjmccall@apple.com> Date: Sat Dec 19 00:51:42 2009 +0000 Put TypesEqual and TypeHasCycleThroughItself in namespace llvm so ADL from the templates in TypesContext.h can find them. Caught by clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91735 91177308-0d34-0410-b5e6-96231b3b80d8 commit f3b3032dc132f8386dde8aa6ecbc6c8d92d35876 Author: Bill Wendling <isanbard@gmail.com> Date: Sat Dec 19 00:05:07 2009 +0000 Forgot forward declaration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91732 91177308-0d34-0410-b5e6-96231b3b80d8 commit f169e657ed99eca80912bd00c06489556091a826 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 23:42:08 2009 +0000 Eliminate unnecessary LLVMContexts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91729 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3a8afc0ed526b8b49af2c089ba600193f8b708c4 Author: Bill Wendling <isanbard@gmail.com> Date: Fri Dec 18 23:32:53 2009 +0000 Changes from review: - Move DisableScheduling flag into TargetOption.h - Move SDNodeOrdering into its own header file. Give it a minimal interface that doesn't conflate construction with storage. - Move assigning the ordering into the SelectionDAGBuilder. This isn't used yet, so there should be no functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91727 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2a0bb8e3f58a6f09316801bcaf043d34b048605c Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 23:18:03 2009 +0000 Make this comment more precise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91722 91177308-0d34-0410-b5e6-96231b3b80d8 commit 52cda8c8d86f40c6e2cab28f54367bf7c64ba804 Author: Eli Friedman <eli.friedman@gmail.com> Date: Fri Dec 18 21:38:44 2009 +0000 Fix an issue in googletest where a name was used before it was defined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91718 91177308-0d34-0410-b5e6-96231b3b80d8 commit d26b552b438a1b4ba2d60bbf715f0286aa22d780 Author: Evan Cheng <evan.cheng@apple.com> Date: Fri Dec 18 21:31:31 2009 +0000 Increase opportunities to optimize (brcond (srl (and c1), c2)). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91717 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6a4a08546569962a0a1929d1eda9fd46bffbde75 Author: Eli Friedman <eli.friedman@gmail.com> Date: Fri Dec 18 21:07:18 2009 +0000 Fix gcc warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91715 91177308-0d34-0410-b5e6-96231b3b80d8 commit d59ead6cba177414008b14ccbab2d86cd1e8cf3f Author: Rafael Espindola <rafael.espindola@gmail.com> Date: Fri Dec 18 20:35:38 2009 +0000 Catch more cases of a pointer being marked garbage twice. This helps when debugging some leaks (PR5770 in particular). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91713 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9a3d620799aa212d3ef04231e0bace426cb4eb29 Author: Bob Wilson <bob.wilson@apple.com> Date: Fri Dec 18 20:14:40 2009 +0000 Reapply 91459 with a simple fix for the problem that broke the x86_64-darwin bootstrap. This also replaces the WeakVH references that Chris objected to with normal Value references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91711 91177308-0d34-0410-b5e6-96231b3b80d8 commit a6e122fd8ed8e60cc79a1fbaef1658fe5aca160a Author: Bob Wilson <bob.wilson@apple.com> Date: Fri Dec 18 20:12:14 2009 +0000 Fix another parallel make race condition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91709 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3e7564c22ba1e674327fc5c92540bb67bedaf292 Author: Victor Hernandez <vhernandez@apple.com> Date: Fri Dec 18 20:09:14 2009 +0000 Formalize MDNode's function-localness: - an MDNode is designated as function-local when created, and continues to be even if its operands are modified not to refer to function-local IR - function-localness is designated via lowest bit in SubclassData - getLocalFunction() descends MDNode tree to see if it is consistently function-local Add verification of MDNodes to checks that MDNodes are consistently function-local. Update AsmWriter to use isFunctionLocal(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91708 91177308-0d34-0410-b5e6-96231b3b80d8 commit 80441befe44d1fc2d8c7c26536b4b0e582ccbcfd Author: Daniel Dunbar <daniel@zuster.org> Date: Fri Dec 18 19:59:48 2009 +0000 Fix Win32 Path.inc for API update. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91706 91177308-0d34-0410-b5e6-96231b3b80d8 commit cb4a07928cea4c2e4b9406665669c7062018280e Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 18:45:31 2009 +0000 Revert this use of NUW/NSW also. Overflow-undefined multiplication isn't associative either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91701 91177308-0d34-0410-b5e6-96231b3b80d8 commit bd9dd2b40d94c3846795ed176ea5d3b641006625 Author: Rafael Espindola <rafael.espindola@gmail.com> Date: Fri Dec 18 16:59:39 2009 +0000 Fix libstdc++ build on ARM linux and part of PR5770. MI was not being used but it was also not being deleted, so it was kept in the garbage list. The memory itself was freed once the function code gen was done. Once in a while the codegen of another function would create an instruction on the same address. Adding it to the garbage group would work once, but when another pointer was added it would cause an assert as "Cache" was about to be pushed to Ts. For a patch that make us detect problems like this earlier, take a look at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091214/092758.html With that patch we assert as soon and the new instruction is added to the garbage set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91691 91177308-0d34-0410-b5e6-96231b3b80d8 commit ffb71a4733c04874b5d47320507eea7e6a083791 Author: Tilmann Scheller <tilmann.scheller@googlemail.com> Date: Fri Dec 18 13:00:34 2009 +0000 Fix wrong frame pointer save offset in the 64-bit PowerPC SVR4 ABI. Patch contributed by Ken Werner of IBM! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91681 91177308-0d34-0410-b5e6-96231b3b80d8 commit b2615b51f6c845fc7376f9bf3c773f5d1028e294 Author: Tilmann Scheller <tilmann.scheller@googlemail.com> Date: Fri Dec 18 13:00:15 2009 +0000 Add support for calls through function pointers in the 64-bit PowerPC SVR4 ABI. Patch contributed by Ken Werner of IBM! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91680 91177308-0d34-0410-b5e6-96231b3b80d8 commit e931a13acc5d5dd31e3ec33ccc4b7438e8a5afca Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Fri Dec 18 11:27:26 2009 +0000 Make 'set_option' work with list options. This works now: (set_option "list_opt", ["val_1", "val_2", "val_3"]) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91679 91177308-0d34-0410-b5e6-96231b3b80d8 commit 21e40b731446c720069c0929bdfa590c946232a5 Author: Eli Friedman <eli.friedman@gmail.com> Date: Fri Dec 18 08:22:35 2009 +0000 Optimize icmp of null and select of two constants even if the select has multiple uses. (The construct in question was found in gcc.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91675 91177308-0d34-0410-b5e6-96231b3b80d8 commit 31d9e33e0d4b4b815ec6002aaab2f280d450c21a Author: Evan Cheng <evan.cheng@apple.com> Date: Fri Dec 18 07:40:29 2009 +0000 On recent Intel u-arch's, folding loads into some unary SSE instructions can be non-optimal. To be precise, we should avoid folding loads if the instructions only update part of the destination register, and the non-updated part is not needed. e.g. cvtss2sd, sqrtss. Unfolding the load from these instructions breaks the partial register dependency and it can improve performance. e.g. movss (%rdi), %xmm0 cvtss2sd %xmm0, %xmm0 instead of cvtss2sd (%rdi), %xmm0 An alternative method to break dependency is to clear the register first. e.g. xorps %xmm0, %xmm0 cvtss2sd (%rdi), %xmm0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91672 91177308-0d34-0410-b5e6-96231b3b80d8 commit c8a33c1c3ea5a45185dbfd0046b79c14f9821b4a Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 03:57:04 2009 +0000 Revert this use of NSW; this one isn't actually safe. NSW addition is not reassociative. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91667 91177308-0d34-0410-b5e6-96231b3b80d8 commit c7d9c3baf89ad6e2a3162daf524f1d4d4c9e9090 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 03:25:51 2009 +0000 Eliminte unnecessary uses of <cstdio>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91666 91177308-0d34-0410-b5e6-96231b3b80d8 commit 532e3f52901265414842dbe21e106f9b32c5b182 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 03:10:26 2009 +0000 Add utility routines for NSW multiply. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91664 91177308-0d34-0410-b5e6-96231b3b80d8 commit dbe0132963a2021bcabd9fe92cd0b1c257614ab8 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 02:58:50 2009 +0000 Add utility routines for creating integer negation operators with NSW set. Integer negation only overflows with INT_MIN, but that's an important case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91662 91177308-0d34-0410-b5e6-96231b3b80d8 commit 18256c45ce2016abbde91d2c738609dea2225561 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 02:14:37 2009 +0000 Delete an unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91659 91177308-0d34-0410-b5e6-96231b3b80d8 commit eadde674855dc5d1e1bee25aa2c621d982b6d8d6 Author: Eric Christopher <echristo@apple.com> Date: Fri Dec 18 02:12:53 2009 +0000 Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91657 91177308-0d34-0410-b5e6-96231b3b80d8 commit 620156de509db9f3d1a1130c33c680e92b722b3a Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 02:09:29 2009 +0000 Preserve NSW information in more places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91656 91177308-0d34-0410-b5e6-96231b3b80d8 commit b3099793f471d4ca8845cb922da8a7052bd2d619 Author: Evan Cheng <evan.cheng@apple.com> Date: Fri Dec 18 01:59:21 2009 +0000 Re-apply 91623 now that I actually know what I was trying to do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91655 91177308-0d34-0410-b5e6-96231b3b80d8 commit bf4c33d434849ca17d8624a77c56b94085d84954 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 01:24:09 2009 +0000 Add Loop contains utility methods for testing whether a loop contains another loop, or an instruction. The loop form is substantially more efficient on large loops than the typical code it replaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91654 91177308-0d34-0410-b5e6-96231b3b80d8 commit 36dcb6d0219b2c549638bddb9b8c6d46d9877406 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 01:20:44 2009 +0000 Minor code simplification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91653 91177308-0d34-0410-b5e6-96231b3b80d8 commit fb8c8533ea5b7e620324138fb647b1b968ff5cae Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 01:14:11 2009 +0000 Whitespace cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91651 91177308-0d34-0410-b5e6-96231b3b80d8 commit fa5054b14df7bdc8da0f9e20c771d7d3b599c8d9 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 01:05:06 2009 +0000 Tidy up this testcase and add test for tailcall optimization with unreachable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91650 91177308-0d34-0410-b5e6-96231b3b80d8 commit cc841d457d517cc8af00f08be3c7bdf803c1eb98 Author: Bob Wilson <bob.wilson@apple.com> Date: Fri Dec 18 01:03:29 2009 +0000 Handle ARM inline asm "w" constraints with 64-bit ("d") registers. The change in SelectionDAGBuilder is needed to allow using bitcasts to convert between f64 (the default type for ARM "d" registers) and 64-bit Neon vector types. Radar 7457110. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91649 91177308-0d34-0410-b5e6-96231b3b80d8 commit 82dff7d94faf98ea406305388528b0d459987172 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 01:02:18 2009 +0000 Remove "tail" keywords. These calls are not intended to be tail calls. This protects this test from depending on codegen not performing the tail call optimization by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91648 91177308-0d34-0410-b5e6-96231b3b80d8 commit 33922e093855021c4516c58b25d2a97321d7ec9f Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 00:38:08 2009 +0000 Don't pass const pointers by reference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91647 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4d6a53b925c6331b45c191fd1e8dfa4af3ce2fc8 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 00:28:43 2009 +0000 Update a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91645 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9b781ff887e6ce97d55151debf0a6c91f4545344 Author: John McCall <rjmccall@apple.com> Date: Fri Dec 18 00:27:18 2009 +0000 Pass the error string directly to llvm_unreachable instead of the residual (0 && "error"). Rough consensus seems to be that g++ *should* be diagnosing this because the pointer makes it not an ICE in c++03. Everyone agrees that the current standard is silly and null-pointer-ness should not be based on ICE-ness. Excellent fight scene in Act II, denouement weak, two stars. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91644 91177308-0d34-0410-b5e6-96231b3b80d8 commit e28a5aeb1044f710d929732875a68072d157fdb4 Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Fri Dec 18 00:11:44 2009 +0000 Add test case for the phi reuse patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91642 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8eba23b792b47890c4d973ad6df31fdedfd25088 Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 00:06:20 2009 +0000 Reapply LoopStrengthReduce and IVUsers cleanups, excluding the part of 91296 that caused trouble -- the Processed list needs to be preserved for the livetime of the pass, as AddUsersIfInteresting is called from other passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91641 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2366772de3db53fc74f19a184140687c2ac7d9bf Author: Dan Gohman <gohman@apple.com> Date: Fri Dec 18 00:03:58 2009 +0000 Add an svn:ignore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91639 91177308-0d34-0410-b5e6-96231b3b80d8 commit 10bd00cf60fd21ca257127ded9684b48aa22abc1 Author: Sean Callanan <scallanan@apple.com> Date: Fri Dec 18 00:01:26 2009 +0000 Instruction fixes, added instructions, and AsmString changes in the X86 instruction tables. Also (while I was at it) cleaned up the X86 tables, removing tabs and 80-line violations. This patch was reviewed by Chris Lattner, but please let me know if there are any problems. * X86*.td Removed tabs and fixed 80-line violations * X86Instr64bit.td (IRET, POPCNT, BT_, LSL, SWPGS, PUSH_S, POP_S, L_S, SMSW) Added (CALL, CMOV) Added qualifiers (JMP) Added PC-relative jump instruction (POPFQ/PUSHFQ) Added qualifiers; renamed PUSHFQ to indicate that it is 64-bit only (ambiguous since it has no REX prefix) (MOV) Added rr form going the other way, which is encoded differently (MOV) Changed immediates to offsets, which is more correct; also fixed MOV64o64a to have to a 64-bit offset (MOV) Fixed qualifiers (MOV) Added debug-register and condition-register moves (MOVZX) Added more forms (ADC, SUB, SBB, AND, OR, XOR) Added reverse forms, which (as with MOV) are encoded differently (ROL) Made REX.W required (BT) Uncommented mr form for disassembly only (CVT__2__) Added several missing non-intrinsic forms (LXADD, XCHG) Reordered operands to make more sense for MRMSrcMem (XCHG) Added register-to-register forms (XADD, CMPXCHG, XCHG) Added non-locked forms * X86InstrSSE.td (CVTSS2SI, COMISS, CVTTPS2DQ, CVTPS2PD, CVTPD2PS, MOVQ) Added * X86InstrFPStack.td (COM_FST0, COMP_FST0, COM_FI, COM_FIP, FFREE, FNCLEX, FNOP, FXAM, FLDL2T, FLDL2E, FLDPI, FLDLG2, FLDLN2, F2XM1, FYL2X, FPTAN, FPATAN, FXTRACT, FPREM1, FDECSTP, FINCSTP, FPREM, FYL2XP1, FSINCOS, FRNDINT, FSCALE, FCOMPP, FXSAVE, FXRSTOR) Added (FCOM, FCOMP) Added qualifiers (FSTENV, FSAVE, FSTSW) Fixed opcode names (FNSTSW) Added implicit register operand * X86InstrInfo.td (opaque512mem) Added for FXSAVE/FXRSTOR (offset8, offset16, offset32, offset64) Added for MOV (NOOPW, IRET, POPCNT, IN, BTC, BTR, BTS, LSL, INVLPG, STR, LTR, PUSHFS, PUSHGS, POPFS, POPGS, LDS, LSS, LES, LFS, LGS, VERR, VERW, SGDT, SIDT, SLDT, LGDT, LIDT, LLDT, LODSD, OUTSB, OUTSW, OUTSD, HLT, RSM, FNINIT, CLC, STC, CLI, STI, CLD, STD, CMC, CLTS, XLAT, WRMSR, RDMSR, RDPMC, SMSW, LMSW, CPUID, INVD, WBINVD, INVEPT, INVVPID, VMCALL, VMCLEAR, VMLAUNCH, VMRESUME, VMPTRLD, VMPTRST, VMREAD, VMWRITE, VMXOFF, VMXON) Added (NOOPL, POPF, POPFD, PUSHF, PUSHFD) Added qualifier (JO, JNO, JB, JAE, JE, JNE, JBE, JA, JS, JNS, JP, JNP, JL, JGE, JLE, JG, JCXZ) Added 32-bit forms (MOV) Changed some immediate forms to offset forms (MOV) Added reversed reg-reg forms, which are encoded differently (MOV) Added debug-register and condition-register moves (CMOV) Added qualifiers (AND, OR, XOR, ADC, SUB, SBB) Added reverse forms, like MOV (BT) Uncommented memory-register forms for disassembler (MOVSX, MOVZX) Added forms (XCHG, LXADD) Made operand order make sense for MRMSrcMem (XCHG) Added register-register forms (XADD, CMPXCHG) Added unlocked forms * X86InstrMMX.td (MMX_MOVD, MMV_MOVQ) Added forms * X86InstrInfo.cpp: Changed PUSHFQ to PUSHFQ64 to reflect table change * X86RegisterInfo.td: Added debug and condition register sets * x86-64-pic-3.ll: Fixed testcase to reflect call qualifier * peep-test-3.ll: Fixed testcase to reflect test qualifier * cmov.ll: Fixed testcase to reflect cmov qualifier * loop-blocks.ll: Fixed testcase to reflect call qualifier * x86-64-pic-11.ll: Fixed testcase to reflect call qualifier * 2009-11-04-SubregCoalescingBug.ll: Fixed testcase to reflect call qualifier * x86-64-pic-2.ll: Fixed testcase to reflect call qualifier * live-out-reg-info.ll: Fixed testcase to reflect test qualifier * tail-opts.ll: Fixed testcase to reflect call qualifiers * x86-64-pic-10.ll: Fixed testcase to reflect call qualifier * bss-pagealigned.ll: Fixed testcase to reflect call qualifier * x86-64-pic-1.ll: Fixed testcase to reflect call qualifier * widen_load-1.ll: Fixed testcase to reflect call qualifier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91638 91177308-0d34-0410-b5e6-96231b3b80d8 commit 20ec3073cae13b5c8a1661dabdfdb97500e6e26c Author: John McCall <rjmccall@apple.com> Date: Thu Dec 17 23:49:16 2009 +0000 Sundry dependent-name fixes flagged by clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91636 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4ca952ac3fa90cc373192bb96a3ddbdfd71f9f21 Author: Bill Wendling <isanbard@gmail.com> Date: Thu Dec 17 23:45:18 2009 +0000 Revert accidental commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91635 91177308-0d34-0410-b5e6-96231b3b80d8 commit af37dac175cdf3ea8698ecc653c0f4d978a352f0 Author: Bill Wendling <isanbard@gmail.com> Date: Thu Dec 17 23:42:32 2009 +0000 Turn off critical edge splitting for landing pads. The introduction of a non-landing pad basic block as the successor to a block that ends in an unconditional jump will cause block folding to remove the added block as a successor. Thus eventually removing it AND the landing pad entirely. Critical edge splitting is an optimization, so we can safely turn it off when dealing with landing pads. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91634 91177308-0d34-0410-b5e6-96231b3b80d8 commit b246171d0203ce94b4403d68fd8aa7eead2c998a Author: Jeffrey Yasskin <jyasskin@google.com> Date: Thu Dec 17 22:44:34 2009 +0000 Revert r91623 to unbreak the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91632 91177308-0d34-0410-b5e6-96231b3b80d8 commit bf3381db96461b1fd215fae3feaf559e7aeb3f96 Author: Eli Friedman <eli.friedman@gmail.com> Date: Thu Dec 17 22:42:29 2009 +0000 Allow instcombine to combine "sext(a) >u const" to "a >u trunc(const)". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91631 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9bc1fde05ecc916e64ad0f39feb6c5d14fb5cfe4 Author: Jeffrey Yasskin <jyasskin@google.com> Date: Thu Dec 17 21:35:29 2009 +0000 Don't codegen available_externally functions. Fixes http://llvm.org/PR5735. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91626 91177308-0d34-0410-b5e6-96231b3b80d8 commit 459ca567824a4f39cf8ad280401de1ec15d5bc2b Author: Eli Friedman <eli.friedman@gmail.com> Date: Thu Dec 17 21:27:47 2009 +0000 Make the ptrtoint comparison simplification work if one side is a global. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91624 91177308-0d34-0410-b5e6-96231b3b80d8 commit fe77cf2b9eda42bd7f805e0f1c853ffae9739c10 Author: Evan Cheng <evan.cheng@apple.com> Date: Thu Dec 17 21:23:58 2009 +0000 Remove an unused option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91623 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8f109efcd44af6875cd87dc939bbcf2f6777ea9a Author: Chris Lattner <sabre@nondot.org> Date: Thu Dec 17 21:23:46 2009 +0000 tabs -> spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91622 91177308-0d34-0410-b5e6-96231b3b80d8 commit f1ff2c77af0c898a7673f1ff16e8ecda1a443357 Author: Eli Friedman <eli.friedman@gmail.com> Date: Thu Dec 17 21:07:31 2009 +0000 Slightly generalize transformation of memmove(a,a,n) so that it also applies to memcpy. (Such a memcpy is technically illegal, but in practice is safe and is generated by struct self-assignment in C code.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91621 91177308-0d34-0410-b5e6-96231b3b80d8 commit 15408333ed53187bf1c886db1756b38c9aac9c6d Author: Jeffrey Yasskin <jyasskin@google.com> Date: Thu Dec 17 21:02:39 2009 +0000 Make Path use StringRef instead of std::string where possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91620 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3da0d8c2d10e49cd7df0e2ba33247580dcf57645 Author: Bill Wendling <isanbard@gmail.com> Date: Thu Dec 17 20:41:01 2009 +0000 Temporarily revert 91337. It's causing testcase failures. $ svn merge -c -91337 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91337 into '.': U lib/CodeGen/AsmPrinter/DwarfException.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91618 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1898b53fca4fe2862b5404a3a80a802620060020 Author: Steve Naroff <snaroff@apple.com> Date: Thu Dec 17 20:39:34 2009 +0000 Fix Windows build breakage... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91617 91177308-0d34-0410-b5e6-96231b3b80d8 commit afb4e48b3b1ab458736885d32d33ff550bb4a503 Author: Ken Dyck <cfe-commits@cs.uiuc.edu> Date: Thu Dec 17 20:09:43 2009 +0000 Introduce EVT::getHalfSizedIntegerVT() for use in ExpandUnalignedStore() in LegalizeDAG.cpp. Unlike the code it replaces, which simply decrements the simple type by one, getHalfSizedIntegerVT() searches for the smallest simple integer type that is at least half the size of the type it is called on. This approach has the advantage that it will continue working if a new value type (such as i24) is added to MVT. Also, in preparation for new value types, remove the assertions that non-power-of-2 8-bit-mutiple types are Extended when legalizing extload and truncstore operations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91614 91177308-0d34-0410-b5e6-96231b3b80d8 commit cfb5c54ba03e4b004314dfce5eeec919471a5fb9 Author: Chris Lattner <sabre@nondot.org> Date: Thu Dec 17 20:00:21 2009 +0000 finish cleaning up StructLayoutMap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91612 91177308-0d34-0410-b5e6-96231b3b80d8 commit f3c8e732244684983ee5f9526d71ae636d5823c0 Author: Jeffrey Yasskin <jyasskin@google.com> Date: Thu Dec 17 19:55:06 2009 +0000 This fixes a memory leak in OpaqueType found by Google's internal heapchecker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91611 91177308-0d34-0410-b5e6-96231b3b80d8 commit 878ec1002b2f3232687cd932ef029b403b46feda Author: Eric Christopher <echristo@apple.com> Date: Thu Dec 17 19:07:19 2009 +0000 Fix unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91609 91177308-0d34-0410-b5e6-96231b3b80d8 commit 11f4e3ba76bd0cce3d9e4ad622c294b23b6c0db9 Author: Bob Wilson <bob.wilson@apple.com> Date: Thu Dec 17 18:34:24 2009 +0000 Re-revert 91459. It's breaking the x86_64 darwin bootstrap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91607 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0bbe84e28cb5f73f1a84c487086144b39b257358 Author: Evan Cheng <evan.cheng@apple.com> Date: Thu Dec 17 18:03:12 2009 +0000 Remove debugging code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91604 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5a461bf3a0e2b3e4cffa9fd3130d5fbcfe1ada8e Author: Jim Grosbach <grosbach@apple.com> Date: Thu Dec 17 17:18:11 2009 +0000 Add more detail for getting started on Windows. Patch from jon.forums at gmail.com git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91603 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5f7bbf56080ea6adfaeac4cea32a6934bfeb81ee Author: Ken Dyck <cfe-commits@cs.uiuc.edu> Date: Thu Dec 17 15:31:52 2009 +0000 In LowerEXTRACT_VECTOR_ELT, force an i32 value type for PEXTWR instead of incrementing the simple value type of the 16-bit type, which would give the wrong type if an intemediate MVT (such as i24) were introduced. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91602 91177308-0d34-0410-b5e6-96231b3b80d8 commit 38e52386fcf379c1a97c557bf81c345fd1233a04 Author: Evan Cheng <evan.cheng@apple.com> Date: Thu Dec 17 09:39:49 2009 +0000 Revert 91280-91283, 91286-91289, 91291, 91293, 91295-91296. It apparently introduced a non-deterministic behavior in the optimizer somewhere. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91598 91177308-0d34-0410-b5e6-96231b3b80d8 commit 75192f45c3fe86b5afe94a303a0cbbe0dbed923c Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Thu Dec 17 07:49:26 2009 +0000 Regenerate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91595 91177308-0d34-0410-b5e6-96231b3b80d8 commit 098d20a0ba341dd7f3db8ffbf3ec908fb60b0be1 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Thu Dec 17 07:49:16 2009 +0000 Add a 'set_option' action for use in OptionPreprocessor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91594 91177308-0d34-0410-b5e6-96231b3b80d8 commit 410ace8ad7a9495dc9ab4a111bc220426ecf17fd Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Thu Dec 17 07:48:49 2009 +0000 Refactoring, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91593 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4bd5523d989fddfb885d2b4c33058530919b21af Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Thu Dec 17 07:48:34 2009 +0000 s/TokenizeCmdline/TokenizeCmdLine/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91592 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7c3da9b61ecc4532780f2503832dd9f1e18f4130 Author: Chandler Carruth <chandlerc@gmail.com> Date: Thu Dec 17 06:35:17 2009 +0000 Update CMake build to include HexDisassembler.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91589 91177308-0d34-0410-b5e6-96231b3b80d8 commit a06cd190d48a95b42f2226fb6bcfbe263ffc2dc3 Author: Eli Friedman <eli.friedman@gmail.com> Date: Thu Dec 17 06:07:04 2009 +0000 Aggressively flip compare constant expressions where appropriate; constant folding in particular expects null to be on the RHS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91587 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3c06eac1ead1ee19d5da7f6244fc1eba2ca17240 Author: Bob Wilson <bob.wilson@apple.com> Date: Thu Dec 17 05:07:36 2009 +0000 Fix a comment grammaro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91584 91177308-0d34-0410-b5e6-96231b3b80d8 commit b1d966ed5e666c21c6bef2178778f11b006e8211 Author: Bob Wilson <bob.wilson@apple.com> Date: Thu Dec 17 05:05:36 2009 +0000 BIT_CONVERT nodes are used for vector types, too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91582 91177308-0d34-0410-b5e6-96231b3b80d8 commit 72af3d737fd75f62999dec911911103f41aba75a Author: Sean Callanan <scallanan@apple.com> Date: Thu Dec 17 01:49:59 2009 +0000 Test harness for the LLVM disassembler. When invoked with -disassemble, llvm-mc now accepts lines of the form 0x00 0x00 and passes the resulting bytes to the disassembler for the chosen (or default) target, printing the result. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91579 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7d8baee6a05ca3383f39a5745c3c93aeb09aa749 Author: Evan Cheng <evan.cheng@apple.com> Date: Thu Dec 17 00:40:05 2009 +0000 Revert this dag combine change: Fold (zext (and x, cst)) -> (and (zext x), cst) DAG combiner likes to optimize expression in the other way so this would end up cause an infinite looping. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91574 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8ae68e420a7fd0e4bc77674860a3d2fb619a3b15 Author: Johnny Chen <johnny.chen@apple.com> Date: Wed Dec 16 23:36:52 2009 +0000 Renamed "tCMNZ" to "tCMNz" to be consistent with other similar namings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91571 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0be22d12589480b482126c2d8eb816a9590d54d8 Author: John McCall <rjmccall@apple.com> Date: Wed Dec 16 20:31:50 2009 +0000 Silence a clang warning about the deprecated (but perfectly reasonable in context) increment-of-bool idiom. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91564 91177308-0d34-0410-b5e6-96231b3b80d8 commit b3fc6a97363135cc1bf0f825a2424b1faf53eb26 Author: Daniel Dunbar <daniel@zuster.org> Date: Wed Dec 16 20:10:05 2009 +0000 Reapply r91392, it was only unmasking the bug, and since TOT is still broken having it reverted does no good. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91560 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1c9fe58fab7095cbd17c99970631f5c3c9044a94 Author: Daniel Dunbar <daniel@zuster.org> Date: Wed Dec 16 20:09:53 2009 +0000 Reapply r91459, it was only unmasking the bug, and since TOT is still broken having it reverted does no good. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91559 91177308-0d34-0410-b5e6-96231b3b80d8 commit 724d7a167ac9c576db2e9217adfbee9ac8cd7b24 Author: Jim Grosbach <grosbach@apple.com> Date: Wed Dec 16 19:44:06 2009 +0000 Mark STREX* as earlyclobber for the success result register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91555 91177308-0d34-0410-b5e6-96231b3b80d8 commit ef786f2f846f89ff2675dd29e74c517d24db0d24 Author: Jim Grosbach <grosbach@apple.com> Date: Wed Dec 16 19:43:02 2009 +0000 Add @earlyclobber TableGen constraint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91554 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4e7896b88c383b5c64ddf574995fbafb4105884c Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 16 19:36:42 2009 +0000 Remove superfluous 'extern' variable that was causing a warning with clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91552 91177308-0d34-0410-b5e6-96231b3b80d8 commit 87450c87ff52d57481df9e6263f9a1b68cc8005a Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Wed Dec 16 18:55:53 2009 +0000 Reuse lowered phi nodes. Tail duplication produces lots of identical phi nodes in different basic blocks. Teach PHIElimination to reuse the join registers when lowering a phi node that is identical to an already lowered node. This saves virtual registers, and more importantly it avoids creating copies the the coalescer doesn't know how to eliminate. Teach LiveIntervalAnalysis about the phi joins with multiple uses. This patch significantly reduces code size produced by -pre-regalloc-taildup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91549 91177308-0d34-0410-b5e6-96231b3b80d8 commit 903dc204e38ab5efaef573815ac96a6c2028c495 Author: Daniel Dunbar <daniel@zuster.org> Date: Wed Dec 16 11:38:03 2009 +0000 Fix one more missing this-> to placate that picky clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91536 91177308-0d34-0410-b5e6-96231b3b80d8 commit 53dee55036da98a51831d75dfc9f704a91cd5f48 Author: Daniel Dunbar <daniel@zuster.org> Date: Wed Dec 16 10:56:17 2009 +0000 Revert "Reapply 91184 with fixes and an addition to the testcase to cover the problem", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. This reverts commit db22309800b224a9f5f51baf76071d7a93ce59c9. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91534 91177308-0d34-0410-b5e6-96231b3b80d8 commit e95e6c2b9690abed80c74de593f537d230318a98 Author: Daniel Dunbar <daniel@zuster.org> Date: Wed Dec 16 10:56:02 2009 +0000 Revert "Initial work on disabling the scheduler. This is a work in progress, and this", this broke llvm-gcc bootstrap for release builds on x86_64-apple-darwin10. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91533 91177308-0d34-0410-b5e6-96231b3b80d8 commit 325984d0b8274e8b0b891df078f74f8330a24a2e Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 09:32:05 2009 +0000 reapply my strstr optimization. I have reproduced the x86-64 bootstrap miscompile (i386.o miscompares) but it happens both with and without this patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91532 91177308-0d34-0410-b5e6-96231b3b80d8 commit a967657dbc081c7a72a734688e073bead60492f5 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 09:17:12 2009 +0000 fix more missing this->'s to placate clang++ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91531 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1306a7b58af44ff7d4d3d55fb55f05d90dc17b51 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 09:09:54 2009 +0000 Fix a missing this-> that clang++ notices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91530 91177308-0d34-0410-b5e6-96231b3b80d8 commit bb29769774962df2dcb7a31f8bd158a0f6871ceb Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 08:44:24 2009 +0000 now that libsystem no longer uses SmallVector, we can move SmallVectorBase::grow_pod out of line, finally satisfying PR3758. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91529 91177308-0d34-0410-b5e6-96231b3b80d8 commit a01522ef1c2bb894f01f20481aeec71b41760c2a Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 08:40:44 2009 +0000 remove use of SmallVector from Path::makeUnique. Path::makeUnique is not used by anything performance sensitive, so just use std::string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91528 91177308-0d34-0410-b5e6-96231b3b80d8 commit 75d7b5b99547063514152db411a60befc99f5302 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 08:35:54 2009 +0000 eliminate an extraneous use of SmallVector in a case where a fixed size buffer is perfectly fine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91527 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3ab8c0e1d42d4ee44349b7b1f51e5130b9c12530 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 08:34:40 2009 +0000 factor out the grow() method for all pod implementations into one common function. It is still an inline method, which will be fixed next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91526 91177308-0d34-0410-b5e6-96231b3b80d8 commit dd44d1b21d8f77f7d3015d258383337dc6646780 Author: Victor Hernandez <vhernandez@apple.com> Date: Wed Dec 16 08:10:57 2009 +0000 Use different name for argument and field git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91524 91177308-0d34-0410-b5e6-96231b3b80d8 commit b9e74f2cb039a0d6581861171f4c7f42d0880f25 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 08:09:23 2009 +0000 pull destroy_range and uninitialized_copy up to the SmallVectorTemplateBase class, which allows us to statically dispatch on isPodLike instead of dynamically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91523 91177308-0d34-0410-b5e6-96231b3b80d8 commit d8d02743d04afde76e9bfa7ba918911f40a9b1cb Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 08:05:48 2009 +0000 sink most of the meat in smallvector back from SmallVectorTemplateCommon down into SmallVectorImpl. This requires sprinking a ton of this->'s in, but gives us a place to factor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91522 91177308-0d34-0410-b5e6-96231b3b80d8 commit 59ebf30b613ebf2617a1519fbd0dbc1f2b4aeb13 Author: Nick Lewycky <nicholas@mxc.ca> Date: Wed Dec 16 07:35:25 2009 +0000 Make this test pass on Linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91521 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3521fb7b3e549c489faebd76084d86a1c30cba8a Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 06:55:45 2009 +0000 substantial refactoring of SmallVector, now most code is in SmallVectorTemplateCommon, and there is a new SmallVectorTemplateBase class in between it and SmallVectorImpl. SmallVectorTemplateBase can be specialized based on isPodLike. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91518 91177308-0d34-0410-b5e6-96231b3b80d8 commit a6b8642f72c98125b56e34469baaed50819ef2a2 Author: Victor Hernandez <vhernandez@apple.com> Date: Wed Dec 16 02:52:09 2009 +0000 MDNodes that refer to an instruction are local to a function; in that case, explicitly keep track of the function they are local to git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91497 91177308-0d34-0410-b5e6-96231b3b80d8 commit aa640d3fc7563e889ef2ef93994b4c6ff38933f1 Author: Johnny Chen <johnny.chen@apple.com> Date: Wed Dec 16 02:32:54 2009 +0000 Add encoding bits for some Thumb instructions. Plus explicitly set the top two bytes of Inst to 0x0000 for the benefit of the Thumb decoder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91496 91177308-0d34-0410-b5e6-96231b3b80d8 commit 95150a6fa59d69f01bcd481e9bb2dc937c548107 Author: Devang Patel <dpatel@apple.com> Date: Wed Dec 16 02:11:38 2009 +0000 XFAIL on ppc-darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91495 91177308-0d34-0410-b5e6-96231b3b80d8 commit edeb169061593870ac603ab898a58d4db579d162 Author: Evan Cheng <evan.cheng@apple.com> Date: Wed Dec 16 00:53:11 2009 +0000 Re-enable 91381 with fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91489 91177308-0d34-0410-b5e6-96231b3b80d8 commit 1ea083faf048bcaa812098ebdc3f55c0ddcc1687 Author: Chris Lattner <sabre@nondot.org> Date: Wed Dec 16 00:46:02 2009 +0000 revert my strstr optimization, I'm told it breaks x86-64 bootstrap. Will reapply with a fix when I get a chance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91486 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5d25f9bbd3a3106239e6b957c233b598d36576fe Author: Dale Johannesen <dalej@apple.com> Date: Wed Dec 16 00:29:41 2009 +0000 Do better with physical reg operands (typically, from inline asm) in local register allocator. If a reg-reg copy has a phys reg input and a virt reg output, and this is the last use of the phys reg, assign the phys reg to the virt reg. If a reg-reg copy has a phys reg output and we need to reload its spilled input, reload it directly into the phys reg than passing it through another reg. Following 76208, there is sometimes no dependency between the def of a phys reg and its use; this creates a window where that phys reg can be used for spilling (this is true in linear scan also). This is bad and needs to be fixed a better way, although 76208 works too well in practice to be reverted. However, there should normally be no spilling within inline asm blocks. The patch here goes a long way towards making this actually be true. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91485 91177308-0d34-0410-b5e6-96231b3b80d8 commit b6bf5b926d84470a0527691b20f60c31f6bf7978 Author: John McCall <rjmccall@apple.com> Date: Wed Dec 16 00:15:28 2009 +0000 Every anonymous namespace is different. Caught by clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91481 91177308-0d34-0410-b5e6-96231b3b80d8 commit 86dd20e4ab83c6d96b5a526bc95fc0ee6170e4ec Author: John McCall <rjmccall@apple.com> Date: Wed Dec 16 00:13:24 2009 +0000 Explicit template instantiations must happen in the template's immediately enclosing namespace. Caught by clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91480 91177308-0d34-0410-b5e6-96231b3b80d8 commit bf525e4cf50311df9aa8ed97d0eaf81a49fa6c3d Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 16 00:08:36 2009 +0000 Helpful comment added. Some code cleanup. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91479 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7cb7f462c39ffc68a5fe873078c2bb545c44f086 Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 16 00:01:27 2009 +0000 Initialize uninitialized variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91477 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9d8b6523d77b512dc276857e3e58e1b226856445 Author: Bill Wendling <isanbard@gmail.com> Date: Wed Dec 16 00:00:18 2009 +0000 Initialize uninitialized variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91475 91177308-0d34-0410-b5e6-96231b3b80d8 commit 43a22289bdf5f2e1d884de469b9ab5b849c077b7 Author: Jeffrey Yasskin <jyasskin@google.com> Date: Tue Dec 15 22:42:46 2009 +0000 Change indirect-globals to use a dedicated allocIndirectGV. This lets us remove start/finishGVStub and the BufferState helper class from the MachineCodeEmitter interface. It has the side-effect of not setting the indirect global writable and then executable on ARM, but that shouldn't be necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91464 91177308-0d34-0410-b5e6-96231b3b80d8 commit d91158b66c9ed1337bdad3741a2a1bbb78525d69 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 15 22:42:19 2009 +0000 Some command lines don't like numbers with leading zeros. Remove them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91463 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2c03fdc0413fbc193bca3214907aa7827f3a0a11 Author: Bob Wilson <bob.wilson@apple.com> Date: Tue Dec 15 22:00:51 2009 +0000 Reapply 91184 with fixes and an addition to the testcase to cover the problem found last time. Instead of trying to modify the IR while iterating over it, I've change it to keep a list of WeakVH references to dead instructions, and then delete those instructions later. I also added some special case code to detect and handle the situation when both operands of a memcpy intrinsic are referencing the same alloca. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91459 91177308-0d34-0410-b5e6-96231b3b80d8 commit 91978076a03bdda4a5c8167436659916e4a31621 Author: Daniel Dunbar <daniel@zuster.org> Date: Tue Dec 15 22:00:37 2009 +0000 lit: Improve error when gtest discovery fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91458 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8f4f994c3cefa11b5df46f4aaaab86b15d4d4504 Author: Dan Gohman <gohman@apple.com> Date: Tue Dec 15 20:21:44 2009 +0000 Revert 90628, which was incorrect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91448 91177308-0d34-0410-b5e6-96231b3b80d8 commit 51260423ed052b52a4246c7643d33cb7750f3bd0 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 19:34:20 2009 +0000 Fix GetConstantStringInfo to not look into MDString (it works on real data, not metadata) and fix DbgInfoPrinter to not abuse GetConstantStringInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91444 91177308-0d34-0410-b5e6-96231b3b80d8 commit 465e633b903c1418bcf46021b2b1e02974505c8c Author: Jim Grosbach <grosbach@apple.com> Date: Tue Dec 15 19:28:13 2009 +0000 whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91442 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8287d66aee7d877aaa80a3fb40cc90580e669493 Author: Devang Patel <dpatel@apple.com> Date: Tue Dec 15 19:16:48 2009 +0000 Add support to emit debug info for C++ namespaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91440 91177308-0d34-0410-b5e6-96231b3b80d8 commit a5b475def3406f1175162574ccbe300f9ab61bfd Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 19:14:40 2009 +0000 optimize strstr, PR5783 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91438 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0d810c281064e69c6a0cab4f9f43870628628566 Author: Johnny Chen <johnny.chen@apple.com> Date: Tue Dec 15 17:24:14 2009 +0000 Added encoding bits for the Thumb ISA. Initial checkin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91434 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7725021a32f9cb0f289b052a953ea77bfcda2bcf Author: Dan Gohman <gohman@apple.com> Date: Tue Dec 15 16:30:09 2009 +0000 Delete an unused function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91432 91177308-0d34-0410-b5e6-96231b3b80d8 |
16 years ago |
![]() |
ce0c204a7e |
fix build on FreeBSD and Mac OS X (bb #1776).
Thanks to Renato Botelho. |
16 years ago |
![]() |
f018e8b145 |
versioninfo parser
|
16 years ago |
![]() |
2253fca349 |
if 0 again.
|
16 years ago |
![]() |
8d18898743 |
add regalloc local for debug purposes.
|
16 years ago |
![]() |
9463f9fd90 |
Stack protector support.
|
16 years ago |
![]() |
a9fe8977e7 |
Accidentally disabled this.
|
16 years ago |
![]() |
688799d126 |
yc_bytecode is able to unpack a file now!
|
16 years ago |
![]() |
3cd48316a3 |
Fix some compiler warnings.
|
16 years ago |
![]() |
e4c59aaef6 |
win32: don't tblgen, fix paths
|
16 years ago |
![]() |
f805891010 |
Run tblgen only in maintainer-mode.
And ship prebuilt .inc files instead. This should improve build times a bit. |
16 years ago |
![]() |
4bf5eb7991 |
bb#1768
|
16 years ago |
![]() |
b44fbcf5fb |
bb#1751
|
16 years ago |
![]() |
2aa9ffe07b |
Revert accidental commit of these files in
|
16 years ago |
![]() |
087a7543b8 |
Update .gitignore.
|
16 years ago |
![]() |
0b337a2483 |
Disable dlopen in LLVM, we don't use it.
|
16 years ago |
![]() |
ec32c565ba |
Don't use -ldl since its not portable.
ClamAV itself is already linked to the appropriate library due to libltdl, so linking the LLVM parts to -ldl is not needed. With -ldl it was failing to link on FreeBSD, reported by Renato Botelho. |
16 years ago |
![]() |
17f6809f33 |
Update win32 buildfiles.
Use git diff -w to see the diff, the previous vcprojs were commited with CRLF instead of LF (as the win32 git automatically transforms CRLF to LF). |
16 years ago |
![]() |
629ae7ab89 |
Avoid rerunning llvm's configure, only rerun if changed.
|
16 years ago |
![]() |
d371544d55 |
Fix distcheck.
|
16 years ago |
![]() |
dbbda6363f |
test llvm compile time in win32
|
16 years ago |
![]() |
c25eb969fe |
Forgot to update x86codegen.
|
16 years ago |
![]() |
117bf90380 |
Update docs: LLVM needs Python/GNU make only for unit tests.
|
16 years ago |
![]() |
5b91dc3455 |
new deplibs.
|
16 years ago |
![]() |
de5bf27b3c |
Merge LLVM upstream r91428.
Squashed commit of the following: commit 08c733e79dd6b65be6eab3060b47fe4d231098b9 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 09:05:13 2009 +0000 add some other xforms that should be done as part of PR5783 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91428 91177308-0d34-0410-b5e6-96231b3b80d8 commit 39a7fa146ef728a10fce157d2efcecd806bf276b Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 08:34:01 2009 +0000 a few improvements: 1. Use std::equal instead of reinventing it. 2. don't run dtors in destroy_range if element is pod-like. 3. Use isPodLike to decide between memcpy/uninitialized_copy instead of is_class. isPodLike is more generous in some cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91427 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3a95c15ce022ba6cdeea981f9b7b0a7d4724e11a Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 08:29:22 2009 +0000 hoist the begin/end/capacity members and a few trivial methods up into the non-templated SmallVectorBase class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91426 91177308-0d34-0410-b5e6-96231b3b80d8 commit 142f4f4c9d8ab4a1d1eb5c2fde61a6383fed25c4 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 07:40:44 2009 +0000 improve isPodLike to know that all non-class types are pod. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91425 91177308-0d34-0410-b5e6-96231b3b80d8 commit bc6f37b22aeb8f1ec5c7eb650ecbdea67f34a3de Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 07:27:58 2009 +0000 Lang verified that SlotIndex is "pod like" even though it isn't a pod. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91423 91177308-0d34-0410-b5e6-96231b3b80d8 commit 169f3a233e90dcdd01e42829b396c823d016fe30 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 07:26:43 2009 +0000 Remove isPod() from DenseMapInfo, splitting it out to its own isPodLike type trait. This is a generally useful type trait for more than just DenseMap, and we really care about whether something acts like a pod, not whether it really is a pod. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91421 91177308-0d34-0410-b5e6-96231b3b80d8 commit e1d483dade6f1675d9c2279fb9ae503858b89844 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Tue Dec 15 07:21:14 2009 +0000 Convert llvmc tests to FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91420 91177308-0d34-0410-b5e6-96231b3b80d8 commit d016c18182f165c7a967f1c5a6a343971bcd2465 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Tue Dec 15 07:20:50 2009 +0000 Support hook invocation from 'append_cmd'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91419 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4136d8daf27d7f04dea28a578b39e5a614fca81e Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 15 06:49:02 2009 +0000 Fix an encoding bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91417 91177308-0d34-0410-b5e6-96231b3b80d8 commit 54fec492a4c81ee84265ad953f4212eda9aff5c1 Author: Chris Lattner <sabre@nondot.org> Date: Tue Dec 15 06:14:33 2009 +0000 add an ALWAYS_INLINE macro, which does the obvious thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91416 91177308-0d34-0410-b5e6-96231b3b80d8 commit 428c804a753234ecaf6a6177107361a1312508f8 Author: Kenneth Uildriks <kennethuil@gmail.com> Date: Tue Dec 15 03:27:52 2009 +0000 For fastcc on x86, let ECX be used as a return register after EAX and EDX git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91410 91177308-0d34-0410-b5e6-96231b3b80d8 commit 90468b7e484723a7ecfe7b4bf7a3264d2c6c6d06 Author: John McCall <rjmccall@apple.com> Date: Tue Dec 15 03:10:26 2009 +0000 Names from dependent base classes are not found by unqualified lookup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91407 91177308-0d34-0410-b5e6-96231b3b80d8 commit 87c0a2dffc5590dc2604754dbe12c9430a54b27b Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 15 03:07:11 2009 +0000 Disable 91381 for now. It's miscompiling ARMISelDAG2DAG.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91405 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5ca004428400555d08d43eebe7e91c7035793afb Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Tue Dec 15 03:04:52 2009 +0000 Validate the generated C++ code in llvmc tests. Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91404 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0e4f60395f69857730808200642874b0ecd44896 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Tue Dec 15 03:04:14 2009 +0000 Pipe 'grep' output to 'count'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91403 91177308-0d34-0410-b5e6-96231b3b80d8 commit bc4f5408a6a0881c31e2a3165d022d74a6b2b9e5 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Tue Dec 15 03:04:02 2009 +0000 Allow $CALL(Hook, '$INFILE') for non-join tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91402 91177308-0d34-0410-b5e6-96231b3b80d8 commit ff7c2e17fda5f570afff5eaf75f88460019d3f74 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Tue Dec 15 03:03:37 2009 +0000 Small documentation update. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91401 91177308-0d34-0410-b5e6-96231b3b80d8 commit d629d80a80bfd6094563000bc82ed37b42acfffa Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 15 03:00:32 2009 +0000 Make 91378 more conservative. 1. Only perform (zext (shl (zext x), y)) -> (shl (zext x), y) when y is a constant. This makes sure it remove at least one zest. 2. If the shift is a left shift, make sure the original shift cannot shift out bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91399 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7caa1423082e873b0685e8d1fb4f7351bdabb103 Author: John McCall <rjmccall@apple.com> Date: Tue Dec 15 02:35:24 2009 +0000 You can't use typedefs to declare template member specializations, and clang enforces it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91397 91177308-0d34-0410-b5e6-96231b3b80d8 commit e8aa0b417ca5d0fc33b6079aa11b81cf86667956 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 15 01:54:51 2009 +0000 Initial work on disabling the scheduler. This is a work in progress, and this stuff isn't used just yet. We want to model the GCC `-fno-schedule-insns' and `-fno-schedule-insns2' flags. The hypothesis is that the people who use these flags know what they are doing, and have hand-optimized the C code to reduce latencies and other conflicts. The idea behind our scheme to turn off scheduling is to create a map "on the side" during DAG generation. It will order the nodes by how they appeared in the code. This map is then used during scheduling to get the ordering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91392 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3f0f8885c7079d20930ca0336bb879adde51aaaf Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 15 01:44:10 2009 +0000 Tail duplication should zap a copy it inserted for SSA update if the copy is the only use of its source. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91390 91177308-0d34-0410-b5e6-96231b3b80d8 commit 834ae6b04f4c3650b92182662aa8bb5b0fcf419f Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 15 00:53:42 2009 +0000 Use sbb x, x to materialize carry bit in a GPR. The result is all one's or all zero's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91381 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5b6187226b44f590ce7f614b128480b9c2d823ef Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 15 00:52:11 2009 +0000 Fold (zext (and x, cst)) -> (and (zext x), cst). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91380 91177308-0d34-0410-b5e6-96231b3b80d8 commit d08dad66572d86df1826c3547cb824b43ae8e8be Author: Daniel Dunbar <daniel@zuster.org> Date: Tue Dec 15 00:41:47 2009 +0000 NNT: Make sure stderr for build commands goes to log file, as intended but misdirected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91379 91177308-0d34-0410-b5e6-96231b3b80d8 commit 3ff63ae679cf08e69db6770e7965e4f3d04637b9 Author: Evan Cheng <evan.cheng@apple.com> Date: Tue Dec 15 00:41:36 2009 +0000 Propagate zest through logical shift. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91378 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9f669d99f66d2ca120c85c4c379f2571d6dd947a Author: Eric Christopher <echristo@apple.com> Date: Tue Dec 15 00:40:55 2009 +0000 Formatting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91377 91177308-0d34-0410-b5e6-96231b3b80d8 commit 87426f8cd21507e13f0256a6727a0c27f60705c3 Author: Bill Wendling <isanbard@gmail.com> Date: Tue Dec 15 00:39:24 2009 +0000 Revert these. They may have been causing 483_xalancbmk to fail: $ svn merge -c -91161 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91161 into '.': U lib/CodeGen/BranchFolding.cpp U lib/CodeGen/MachineBasicBlock.cpp $ svn merge -c -91113 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91113 into '.': G lib/CodeGen/MachineBasicBlock.cpp $ svn merge -c -91101 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91101 into '.': U include/llvm/CodeGen/MachineBasicBlock.h G lib/CodeGen/MachineBasicBlock.cpp $ svn merge -c -91092 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91092 into '.': G include/llvm/CodeGen/MachineBasicBlock.h G lib/CodeGen/MachineBasicBlock.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91376 91177308-0d34-0410-b5e6-96231b3b80d8 commit e6e14f2cfc4e8bd346bf3fa7a5ac87b6ebf422ff Author: Jim Grosbach <grosbach@apple.com> Date: Tue Dec 15 00:12:35 2009 +0000 nand atomic requires opposite operand ordering git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91371 91177308-0d34-0410-b5e6-96231b3b80d8 commit c6cfdd3f717bfa1b43351c354e39c066dbd167cd Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 23:40:38 2009 +0000 Fix integer cast code to handle vector types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91362 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8b0d8db13172ed290285f0832e021b4ce3ef9aea Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 23:36:03 2009 +0000 Move Flag and isVoid after the vector types, since bit arithmetic with those enum values is less common. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91361 91177308-0d34-0410-b5e6-96231b3b80d8 commit 81c5562ec2e59741258fc67824bbb64b91ece71e Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 23:34:36 2009 +0000 Fix these asserts to check the invariant that the code actually depends on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91360 91177308-0d34-0410-b5e6-96231b3b80d8 commit 612ae24984fcce968041a2f3f379505d8e007a83 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 23:13:31 2009 +0000 Update this comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91356 91177308-0d34-0410-b5e6-96231b3b80d8 commit a34782d2b71b5fd6b3b32fa4943de1fc89d47115 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 23:08:09 2009 +0000 Fix this to properly clear the FastISel debug location. Thanks to Bill for spotting this! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91355 91177308-0d34-0410-b5e6-96231b3b80d8 commit becf334c8d194b1f6c21db915ba3c22c451ab42a Author: Bob Wilson <bob.wilson@apple.com> Date: Mon Dec 14 22:44:22 2009 +0000 Rearrange rules to add missing dependency and allow parallel makes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91352 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6fdbe657ebacf9e1bdb1e2cebfe82a9549d86d3e Author: Johnny Chen <johnny.chen@apple.com> Date: Mon Dec 14 21:51:34 2009 +0000 Add encoding bits "let Inst{11-4} = 0b00000000;" to BR_JTr to disambiguate between BR_JTr and STREXD. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91339 91177308-0d34-0410-b5e6-96231b3b80d8 commit 32b48e95922e730032f188c313cdd2e50c63cbc9 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 14 21:49:44 2009 +0000 The CIE says that the LSDA point in the FDE section is an "sdata4". That's fine, but we need it to actually be 4-bytes in the FDE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91337 91177308-0d34-0410-b5e6-96231b3b80d8 commit ba16e07fc539e23bb604defb021187e64c04702a Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 21:33:32 2009 +0000 v6 sync insn copy/paste error git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91333 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6eee903ab286e1a0093c5091bb30fc35e00cd86b Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 21:24:16 2009 +0000 Add ARMv6 memory and sync barrier instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91329 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8ac1d378d72ad45806ab86d316bd50ca5e7f861c Author: Johnny Chen <johnny.chen@apple.com> Date: Mon Dec 14 21:01:46 2009 +0000 Fixed encoding bits typo of ldrexd/strexd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91327 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5b595cd6311d7b9670268b69096b55dd1a384d35 Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 20:14:59 2009 +0000 Thumb2 atomic operations git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91321 91177308-0d34-0410-b5e6-96231b3b80d8 commit 95218a2eb2163a644a1ff5d419ef0b581a60eb39 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 19:55:22 2009 +0000 Add svn:ignore entries for the Disassembler files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91320 91177308-0d34-0410-b5e6-96231b3b80d8 commit b6e3c7b1e4283ee072c8115244515c145ef6d072 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 19:43:09 2009 +0000 Move several function bodies which are rarely inlined out of line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91319 91177308-0d34-0410-b5e6-96231b3b80d8 commit a850594e8be4f3a3cb7c4d404b8434dfb3844ec8 Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 14 19:34:32 2009 +0000 fix an obvious bug found by clang++ and collapse a redundant if. Here's the diagnostic from clang: /Volumes/Data/dgregor/Projects/llvm/lib/Target/CppBackend/CPPBackend.cpp:989:23: warning: 'gv' is always NULL in this context printConstant(gv); ^ 1 diagnostic generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91318 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5dbe26aa8326068823cb9481972426dca151c3cc Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 19:32:31 2009 +0000 Micro-optimize these functions in the case where they are not inlined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91316 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2d6e24935ebc8902bd9b22f73ba02fa31d60f8bb Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 19:24:11 2009 +0000 correct selection requirements for thumb2 vs. arm versions of the barrier intrinsics git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91313 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4fc99a1a87b457f994c5e8e0d12206b9b2e02bb4 Author: Eric Christopher <echristo@apple.com> Date: Mon Dec 14 19:07:25 2009 +0000 Add radar fixed in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91312 91177308-0d34-0410-b5e6-96231b3b80d8 commit efbc1f057fd24bd540ab94dfcac298d6762aa3bd Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 18:56:47 2009 +0000 add Thumb2 atomic and memory barrier instruction definitions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91310 91177308-0d34-0410-b5e6-96231b3b80d8 commit 31b2740914c8fec8580a8dc1000e3b5295309dfb Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 18:36:32 2009 +0000 whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91307 91177308-0d34-0410-b5e6-96231b3b80d8 commit 63437d96828f86ca3833c58964c4a5d4b142aa07 Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 18:31:20 2009 +0000 ARM memory barrier instructions are not predicable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91305 91177308-0d34-0410-b5e6-96231b3b80d8 commit 49da09d50ecde9dcaacb4bc57807b9fe0fd31005 Author: Daniel Dunbar <daniel@zuster.org> Date: Mon Dec 14 17:58:33 2009 +0000 NNT: Use [e]grep -a when scanning logs, its possibly they will have non-text characters in them, in which case the grep will just return 'Binary file matches' and the whole thing falls over. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91302 91177308-0d34-0410-b5e6-96231b3b80d8 commit 2cef3baf8abe8446367182510bb5410247c99a8e Author: Daniel Dunbar <daniel@zuster.org> Date: Mon Dec 14 17:58:27 2009 +0000 NNT: Always create the -sentdata.txt file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91301 91177308-0d34-0410-b5e6-96231b3b80d8 commit 5d6c29ba56ae19b4d81f8a8f7abf04aa356403fb Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:35:17 2009 +0000 Clear the Processed set when it is no longer used, and clear the IVUses list in releaseMemory(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91296 91177308-0d34-0410-b5e6-96231b3b80d8 commit 6f4122b67d3bd31a6d3544f319527949f2d1cf4e Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:31:01 2009 +0000 Fix a thinko; isNotAlreadyContainedIn had a built-in negative, so the condition was inverted when the code was converted to contains(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91295 91177308-0d34-0410-b5e6-96231b3b80d8 commit b937cf58556a1fea130dae4d42e49489b308edc5 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:19:06 2009 +0000 Remove unnecessary #includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91293 91177308-0d34-0410-b5e6-96231b3b80d8 commit 34b9035f2aa2e072afa2da175e47a86de9c723ce Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:14:32 2009 +0000 Make the IVUses member private. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91291 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8c5b238c82b464d9993971757204b347a18ed86e Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:12:51 2009 +0000 Instead of having a ScalarEvolution pointer member in BasedUser, just pass the ScalarEvolution pointer into the functions which need it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91289 91177308-0d34-0410-b5e6-96231b3b80d8 commit e48b5a49457a7976192930b8503e889383e7c0e7 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:10:44 2009 +0000 Don't bother cleaning up if there's nothing to clean up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91288 91177308-0d34-0410-b5e6-96231b3b80d8 commit a7366d992d0c8f3d840085a41c04be370a3cfe95 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:08:09 2009 +0000 Delete an unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91287 91177308-0d34-0410-b5e6-96231b3b80d8 commit f1e30e458078b78f37abe8ca738d50df8b3cfae8 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:06:50 2009 +0000 Drop Loop::isNotAlreadyContainedIn in favor of Loop::contains. The former was just exposing a LoopInfoBase implementation detail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91286 91177308-0d34-0410-b5e6-96231b3b80d8 commit c83030d61279ac68b9532896fea512ae408387de Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 17:02:55 2009 +0000 add ldrexd/strexd instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91284 91177308-0d34-0410-b5e6-96231b3b80d8 commit d1d6f3708a558575396f8c066b9d9575889f8642 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 17:02:34 2009 +0000 LSR itself doesn't need LoopInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91283 91177308-0d34-0410-b5e6-96231b3b80d8 commit 01c63bf35c8b7ff7775bc83a02a39fc2efcfe3f8 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 16:57:08 2009 +0000 LSR itself doesn't need DominatorTree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91282 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7ad7ae23378a83d55d836338cf33935a4a6829b9 Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 16:52:55 2009 +0000 Remove the code in LSR that manually hoists expansions out of loops; SCEVExpander does this automatically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91281 91177308-0d34-0410-b5e6-96231b3b80d8 commit c476702d130b84050a146b9e8a602709bbdc3e2e Author: Dan Gohman <gohman@apple.com> Date: Mon Dec 14 16:37:29 2009 +0000 Minor code cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91280 91177308-0d34-0410-b5e6-96231b3b80d8 commit 814a12c5353afed59395f62dc082aca10b93c3dd Author: Devang Patel <dpatel@apple.com> Date: Mon Dec 14 16:18:45 2009 +0000 Use DW_AT_specification to point to DIE describing function declaration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91278 91177308-0d34-0410-b5e6-96231b3b80d8 commit 99e265ce64bf952da29d01da65438a96984819fe Author: Shantonu Sen <ssen@apple.com> Date: Mon Dec 14 14:15:15 2009 +0000 Remove empty file completely git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91277 91177308-0d34-0410-b5e6-96231b3b80d8 commit c8da34e01191c9d3819aa1b52fdbc6fe1d544095 Author: Edwin Török <edwintorok@gmail.com> Date: Mon Dec 14 12:38:18 2009 +0000 Add "generic" fallback. gcc warned that the function may not have a return value, indeed for non-intel and non-amd X86 CPUs it is right (VIA, etc.). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91276 91177308-0d34-0410-b5e6-96231b3b80d8 commit 76d8399d2044c4af7ef6b723f2905e4ad6cbbbf3 Author: Lang Hames <lhames@gmail.com> Date: Mon Dec 14 07:43:25 2009 +0000 Added CalcSpillWeights to CMakeLists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91275 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8233240e96cc3df533f37641d17df9ae2d15af12 Author: Bill Wendling <isanbard@gmail.com> Date: Mon Dec 14 06:51:19 2009 +0000 Whitespace changes, comment clarification. No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91274 91177308-0d34-0410-b5e6-96231b3b80d8 commit 4f49e0f7a619ff4a98eae831896636e8fa9051a4 Author: Lang Hames <lhames@gmail.com> Date: Mon Dec 14 06:49:42 2009 +0000 Moved spill weight calculation out of SimpleRegisterCoalescing and into its own pass: CalculateSpillWeights. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91273 91177308-0d34-0410-b5e6-96231b3b80d8 commit edf3f1eff2ea650086482a564fe3a649801a17fe Author: Chris Lattner <sabre@nondot.org> Date: Mon Dec 14 05:11:02 2009 +0000 revert r91184, because it causes a crash on a .bc file I just sent to Bob. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91268 91177308-0d34-0410-b5e6-96231b3b80d8 commit c7e4ddcbcad547e5513dfd7eefe8c1ae97e84485 Author: Jim Grosbach <grosbach@apple.com> Date: Mon Dec 14 04:22:04 2009 +0000 atomic binary operations up to 32-bits wide. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91260 91177308-0d34-0410-b5e6-96231b3b80d8 commit 15874c1fc1d911bfe2ff73e4a66d500d2c07e6f6 Author: Mikhail Glushenkov <foldr@codedgers.com> Date: Mon Dec 14 04:06:38 2009 +0000 Add a test for the 'init' option property. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91259 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7fe6f87162f412660039e41bc96d1ac96d107176 Author: Jeffrey Yasskin <jyasskin@google.com> Date: Sun Dec 13 20:30:32 2009 +0000 Reinstate r91208 to fix available_externally linkage for globals, with nlewycky's fix to add -rdynamic so the JIT can look symbols up in Linux builds of the JITTests binary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91250 91177308-0d34-0410-b5e6-96231b3b80d8 commit eae8d0465c69874badfcb83312d374d1ba668962 Author: Edwin Török <edwintorok@gmail.com> Date: Sun Dec 13 08:59:40 2009 +0000 Using _MSC_VER there was wrong, better just use the already existing ifdefs for x86 CPU detection for the X86 getHostCPUName too, and create a simple getHostCPUName that returns "generic" for all else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91240 91177308-0d34-0410-b5e6-96231b3b80d8 commit 87a4e6c0cb18756f3d55ec0f1b5cb86c4c88e068 Author: Chandler Carruth <chandlerc@gmail.com> Date: Sun Dec 13 07:04:45 2009 +0000 Don't leave pointers uninitialized in the default constructor. GCC complains about the potential use of these uninitialized members under certain conditions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91239 91177308-0d34-0410-b5e6-96231b3b80d8 commit 7c29ae320a827facfbcc32b91d6d98c6b06e44ea Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Sun Dec 13 01:00:59 2009 +0000 Fix weird typo which leads to unallocated memory access for nodes with 4 results. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91233 91177308-0d34-0410-b5e6-96231b3b80d8 commit efb9350360fe13284f9162fec884d16590da206a Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Sun Dec 13 01:00:32 2009 +0000 Do not allow uninitialize access during debug printing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91232 91177308-0d34-0410-b5e6-96231b3b80d8 commit 993eb83df375e2fa7d3fb2c1519690402c27b460 Author: Eli Friedman <eli.friedman@gmail.com> Date: Sat Dec 12 23:23:43 2009 +0000 More info on this transformation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91230 91177308-0d34-0410-b5e6-96231b3b80d8 commit a3a131a8c63dc9768694c87d74109afefb021cfb Author: Eli Friedman <eli.friedman@gmail.com> Date: Sat Dec 12 21:41:48 2009 +0000 Remove some stuff that's already implemented. Also, remove the note about merging x >u 5 and x <s 20 because it's impossible to implement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91228 91177308-0d34-0410-b5e6-96231b3b80d8 commit ee30369f778aaece9f0f70dc482331c6ed8cb326 Author: Daniel Dunbar <daniel@zuster.org> Date: Sat Dec 12 21:17:54 2009 +0000 Update install-clang target for clang-cc removal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91226 91177308-0d34-0410-b5e6-96231b3b80d8 commit 8597901e12c0caa1cf841472e12df422c1d2c02b Author: Evan Cheng <evan.cheng@apple.com> Date: Sat Dec 12 20:03:14 2009 +0000 Disable r91104 for x86. It causes partial register stall which pessimize code in 32-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91223 91177308-0d34-0410-b5e6-96231b3b80d8 commit 36d987ea7542f0face7c2a3e98cfa4d8f31ab5e9 Author: Anton Korobeynikov <asl@math.spbu.ru> Date: Sat Dec 12 18:55:37 2009 +0000 Implement variable-width shifts. No testcase yet - it seems we're exposing generic codegen bugs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91221 91177308-0d34-0410-b5e6-96231b3b80d8 commit 9357ab4ddb97c2a6606ba0ee9f859b9c93b364b7 Author: Evan Cheng <evan.cheng@apple.com> Date: Sat Dec 12 18:55:26 2009 +0000 Add comment about potential partial register stall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91220 91177308-0d34-0410-b5e6-96231b3b80d8 commit ca348204499380bc590165f8467f8dccdc3f414a Author: Evan Cheng <evan.cheng@apple.com> Date: Sat Dec 12 18:51:56 2009 +0000 Fix an obvious bug. No test case since LEA16r is not being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91219 91177308-0d34-0410-b5e6-96231b3b80d8 commit d50b1dd026feed23280c98d75ec3465627424725 Author: Edwin Török <edwintorok@gmail.com> Date: Sat Dec 12 12:42:31 2009 +0000 Enable CPU detection when using MS VS 2k8 too. MSVS2k8 doesn't define __i386__, hence all the CPU detection code was disabled. Enable it by looking for _MSC_VER. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91217 91177308-0d34-0410-b5e6-96231b3b80d8 |
16 years ago |
![]() |
8449b08d52 |
New dependency generator.
|
16 years ago |
![]() |
7e98915f9b |
cli_ftw: when readdir fails, call the error callback (bb #1735).
Also report all failures to clamdscan. |
16 years ago |
![]() |
0f7ba61742 |
libclamav: integrate ldb sigs with icon matcher
|
16 years ago |
![]() |
8ea83d1366 |
Document requirements for bytecode JIT.
|
16 years ago |
![]() |
303c6ea016 |
Minimum required version for multithreaded LLVM is gcc 4.1.3.
gcc 3.4.6 doesn't support atomic builtins required by LLVM for multithreaded mode. So make the minimum version 4.1.3, since: 4.0 is buggy for ClamAV itself, and 4.1.1, 4.1.2 are buggy when compiling LLVM. On gcc 3.4.6 clamav will use the interpreter now. |
16 years ago |
![]() |
3df571b3aa |
sigtool: fix some messages (bb#1777)
|
16 years ago |
![]() |
654efea328 |
man/freshclam.conf.5: describe SafeBrowsing (bb#1772)
|
16 years ago |
![]() |
4b0d9e508a |
man/clamd.8: add info about signals
|
16 years ago |
![]() |
67f25082c2 |
Fix win32 deps, LLVMipa needs Core and intrinsics_gen.
|
16 years ago |
![]() |
6b7006c3af |
Remove cmake invocation.
|
16 years ago |
![]() |
6d52179a6e |
gcc 3.4.6 doesn't support -Wno-variadic-macros, disable the flag.
|
16 years ago |