[PATCH] D12990: AMDGPU: Handle i64->v2i32 loads/stores in PreprocessISelDAG
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 16:20:32 PDT 2015
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
This fixes a select error when the i64 source was also
bitcasted to v2i32 in the original source.
Instead of awkwardly trying to select the modified source value and
the store, replace before isel begins.
Uses a worklist to avoid possible problems from mutating the DAG,
although it seems to work OK without it.
http://reviews.llvm.org/D12990
Files:
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
test/CodeGen/AMDGPU/extract-vector-elt-i64.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12990.35150.patch
Type: text/x-patch
Size: 6234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150918/3bf1ed90/attachment.bin>
More information about the llvm-commits
mailing list