mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
add a note, this is actually not too bad to implement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49466 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a825d75f1d
commit
2189c17443
@ -472,7 +472,13 @@ _doload64:
|
||||
addl $12, %esp
|
||||
ret
|
||||
|
||||
instead of movsd from the stack.
|
||||
instead of movsd from the stack. This is actually not too bad to implement. The
|
||||
best way to do this is to implement a dag combine that turns
|
||||
bitconvert(build_pair(load a, load b)) into one load of the right type. The
|
||||
only trick to this is writing the predicate that determines that a/b are at the
|
||||
right offset from each other. For the enterprising hacker, InferAlignment is a
|
||||
helpful place to start poking if interested.
|
||||
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user