]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
[PowerPC] Remove old README.txt entry
authorHal Finkel <hfinkel@anl.gov>
Mon, 5 Jan 2015 22:20:22 +0000 (22:20 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 5 Jan 2015 22:20:22 +0000 (22:20 +0000)
commita767eed6f198250b2ce8d9b7236ac05784d27616
treefef1e594f0d4b081888abeaa6a2d7754f62c8131
parenta5b2142af19369e646576b3bae7325bae853a42e
[PowerPC] Remove old README.txt entry

We no longer generate horrible code for the stated function:

void f(signed char *a, _Bool b, _Bool c) {
  signed char t = 0;
  if (b)  t = *a;
  if (c)  *a = t;
}

for which we now generate:

.L.f:
        andi. 5, 5, 1
        cmpldi 1, 4, 0
        li 5, 0
        beq 1, .LBB0_2
        lbz 5, 0(3)
.LBB0_2:                                # %if.end
        bclr 4, 1, 0
        stb 5, 0(3)
        blr

so we don't need the README.txt entry.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225217 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/README.txt