Tom Stellard
044bedf9b1
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
7db3ef45b9
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
f550e3cb27
R600/SI: Fix promote alloca pass breaking addrspacecast
...
llvm-svn: 217776
2014-09-15 15:41:44 +00:00
Benjamin Kramer
e991977346
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
128df7aaf1
R600: Don't crash on unhandled instruction in promote alloca
...
llvm-svn: 211906
2014-06-27 16:52:49 +00:00
Matt Arsenault
61dec09b87
Fix missing newline and simplify debug printing.
...
llvm-svn: 211850
2014-06-27 02:36:59 +00:00
Tom Stellard
a529beed9c
R600: Use LDS and vectors for private memory
...
llvm-svn: 211110
2014-06-17 16:53:14 +00:00