R600: Lower int_load_input to copyFromReg instead of Register node
authorVincent Lejeune <vljn@ovi.com>
Fri, 17 May 2013 16:51:06 +0000 (16:51 +0000)
committerVincent Lejeune <vljn@ovi.com>
Fri, 17 May 2013 16:51:06 +0000 (16:51 +0000)
commitdf98ad3959f164b8b06de4a7eaa5ffe41c4c017c
tree5b4cfc8233c6ebcc2cf8448941256adef99b121f
parent76fc2d077f955174c14e658bf179620ef49dd792
R600: Lower int_load_input to copyFromReg instead of Register node

It solves a bug uncovered by dot4 patch where the register class of
int_load_input use was ignored.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182130 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/R600ISelLowering.cpp
test/CodeGen/R600/load-input-fold.ll [new file with mode: 0644]