mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
instcombine doesn't do CSE, simplify unrelated detail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a16d4429e4
commit
fa83404afa
@ -48,8 +48,7 @@ ushort %test5(ushort %a) {
|
||||
%tmp1 = and int %tmp, 65280
|
||||
%tmp2 = ashr int %tmp1, ubyte 8
|
||||
%tmp2 = trunc int %tmp2 to short
|
||||
%tmp3 = zext ushort %a to int
|
||||
%tmp4 = and int %tmp3, 255
|
||||
%tmp4 = and int %tmp, 255
|
||||
%tmp5 = shl int %tmp4, ubyte 8
|
||||
%tmp5 = trunc int %tmp5 to short
|
||||
%tmp = or short %tmp2, %tmp5
|
||||
|
Loading…
Reference in New Issue
Block a user