Frits van Bommel
|
34ceb4db22
|
Transform (extractvalue (load P), ...) to (load (gep P, 0, ...)) if the load has no other uses, shrinking the load.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120323 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-29 21:56:20 +00:00 |
|
Frits van Bommel
|
d2fe8e0acd
|
Update this test to keep testing the -instcombine transform it's supposed to be testing instead of triggering the improved constant folding for insertvalue and extractvalue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120319 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-29 20:55:40 +00:00 |
|
Dan Gohman
|
3e054fe9ef
|
Use opt -S instead of piping bitcode output through llvm-dis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-08 22:34:10 +00:00 |
|
Dan Gohman
|
b1e1e82c54
|
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-08 16:50:01 +00:00 |
|
Matthijs Kooijman
|
d8b4d60490
|
Add a few cases to instcombine's extractvalue testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53675 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-16 12:57:25 +00:00 |
|
Matthijs Kooijman
|
d47e6aeb93
|
Make testcase check for extractvalue instead of extractelement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52317 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-06-16 13:03:44 +00:00 |
|
Matthijs Kooijman
|
a9012eca1a
|
Teach instruction combining about the extractvalue. It can succesfully fold
useless insert-extract chains, similar to how it folds them for vectors.
Add a testcase for this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52217 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-06-11 14:05:05 +00:00 |
|