R600: Expand v2i32 load/store instead of custom lowering
authorTom Stellard <thomas.stellard@amd.com>
Thu, 20 Jun 2013 21:55:23 +0000 (21:55 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 20 Jun 2013 21:55:23 +0000 (21:55 +0000)
commiteb3aa070c9b3984c375ef65ef6e5f113efd7e968
tree171c48dd3fd450c8ac803f36d1737ce533992ed3
parent8592fba155ecb695b2b7686bbd03fe6e6ae87d10
R600: Expand v2i32 load/store instead of custom lowering

The custom lowering causes llc to crash with a segfault.

Ideally, the custom lowering can be fixed, but this allows
programs which load/store v2i32 to work without crashing.

Patch by: Aaron Watry

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Aaron Watry<awatry@gmail.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184480 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/R600ISelLowering.cpp
test/CodeGen/R600/load.vec.ll