Tom Stellard
5b2927fe83
R600: Don't promote allocas when one of the users is a ptrtoint instruction
...
We need to figure out how to track ptrtoint values all the
way until result is converted back to a pointer in order
to correctly rewrite the pointer type.
llvm-svn: 220997
2014-10-31 20:52:04 +00:00
Benjamin Kramer
c6cc58e703
Remove unnecessary copying or replace it with moves in a bunch of places.
...
NFC.
llvm-svn: 219061
2014-10-04 16:55:56 +00:00
Matt Arsenault
65f67e4dfe
R600/SI: Fix promote alloca pass breaking addrspacecast
...
llvm-svn: 217776
2014-09-15 15:41:44 +00:00
Benjamin Kramer
8c90fd71f7
Add override to overriden virtual methods, remove virtual keywords.
...
No functionality change. Changes made by clang-tidy + some manual cleanup.
llvm-svn: 217028
2014-09-03 11:41:21 +00:00
Matt Arsenault
642d2e78b3
R600: Don't crash on unhandled instruction in promote alloca
...
llvm-svn: 211906
2014-06-27 16:52:49 +00:00
Matt Arsenault
6f62cf80d0
Fix missing newline and simplify debug printing.
...
llvm-svn: 211850
2014-06-27 02:36:59 +00:00
Tom Stellard
880a80ad07
R600: Use LDS and vectors for private memory
...
llvm-svn: 211110
2014-06-17 16:53:14 +00:00