commit | fdf8366ecc67b2f3ac21c3b9155c1bc2e9d3dad4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Aug 25 00:26:22 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Aug 25 00:26:22 2005 +0000 |
tree | bfa2e5daa7c9f4ccf7a7b798f998af980149a419 | |
parent | ed7956bfe4bbe9445cbf0a74299f714ffe4fd7a4 [diff] |
LFS/STFS load and store FP values, not integer ones. This change allows us to codegen this: float foo() { return 1.245; } into this: _foo: lis r2, ha16(.CPI_foo_0) lfs f1, lo16(.CPI_foo_0)(r2) blr instead of this: _foo: lis r2, ha16(.CPI_foo_0) lfs r2, lo16(.CPI_foo_0)(r2) <-- ouch or f1, r2, r2 <-- ouch blr with the dag isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23033 91177308-0d34-0410-b5e6-96231b3b80d8