mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Drop some non-ascii stuff
llvm-svn: 109456
This commit is contained in:
parent
73936af25b
commit
b71ee4ebbb
@ -645,13 +645,13 @@ void foo(unsigned char *a, unsigned char *b, int *c) {
|
||||
|
||||
currently llvm-gcc generates something like this (nice branchless code I'd say):
|
||||
|
||||
ldrb r0, [r0]
|
||||
ldrb r1, [r1]
|
||||
orr r0, r1, r0
|
||||
tst r0, #255
|
||||
moveq r0, #0
|
||||
streq r0, [r2]
|
||||
bx lr
|
||||
ldrb r0, [r0]
|
||||
ldrb r1, [r1]
|
||||
orr r0, r1, r0
|
||||
tst r0, #255
|
||||
moveq r0, #0
|
||||
streq r0, [r2]
|
||||
bx lr
|
||||
|
||||
Note that both "tst" and "moveq" are redundant.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user