Skip to content

Commit e507a15

Browse files
committed
This is implemented
llvm-svn: 24107
1 parent a70878d commit e507a15

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

llvm/lib/Target/PowerPC/README.txt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -217,22 +217,3 @@ _test:
217217
stw r2, 0(r3)
218218
blr
219219

220-
===-------------------------------------------------------------------------===
221-
222-
Compile
223-
int foo(int a) { return a * -2 + 63; }
224-
225-
to
226-
227-
_foo:
228-
slwi r0,r3,1
229-
subfic r3,r0,63
230-
blr
231-
232-
instead of:
233-
234-
_foo:
235-
mulli r2,r3,-2
236-
addi r3,r2,63
237-
blr
238-

0 commit comments

Comments
 (0)