aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-12-21 06:43:19 +0000
committerBob Wilson <bob.wilson@apple.com>2010-12-21 06:43:19 +0000
commit1a20c2aedda6782fb5593fe1ad81bde50a94b68c (patch)
tree37354884a634515caeb594d6c716a59413a19ea4 /llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
parent12a30ee83f8ea2aa74655dc2a9fba5e632f90b8a (diff)
downloadllvm-1a20c2aedda6782fb5593fe1ad81bde50a94b68c.zip
llvm-1a20c2aedda6782fb5593fe1ad81bde50a94b68c.tar.gz
llvm-1a20c2aedda6782fb5593fe1ad81bde50a94b68c.tar.bz2
Add ARM-specific DAG combining to cast i64 vector element load/stores to f64.
Type legalization splits up i64 values into pairs of i32 values, which leads to poor quality code when inserting or extracting i64 vector elements. If the vector element is loaded or stored, it can be treated as an f64 value and loaded or stored directly from a VPR register. Use the pre-legalization DAG combiner to cast those vector elements to f64 types so that the type legalizer won't mess them up. Radar 8755338. llvm-svn: 122319
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyInstructions.cpp')
0 files changed, 0 insertions, 0 deletions