diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-26 18:46:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-26 18:46:49 +0000 |
commit | 13794f5d01317d76ec698b43bdf1c35eea57eae5 (patch) | |
tree | 53985d8d39596998a82d4c9b01bd4888026f5382 /lib/Target/PowerPC/PPCISelPattern.cpp | |
parent | 52987f4f6531ffcfcc61b1319f5219f3704d426b (diff) |
implement the fold for:
bool %test(int %X, int %Y) {
%C = setne int %X, 0
ret bool %C
}
to:
_test:
addic r2, r3, -1
subfe r3, r2, r3
blr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelPattern.cpp')
0 files changed, 0 insertions, 0 deletions