[PATCH] D17541: X86: Load and ZeroExtend i1 value

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 04:15:31 PST 2016

delena created this revision.
delena added reviewers: DavidKreitzer, qcolombet, RKSimon.
delena added subscribers: llvm-commits, igorb.
delena set the repository for this revision to rL LLVM.

Optimized loading (zextload) of i1 value from memory.
This patch is a partial revert of  https://llvm.org/svn/llvm-project/llvm/trunk@237793.
Extra "and" causes performance degradation.

We assume that i1 is stored in zero-extended form. And store operation is responsible for zeroing upper bits.
I described this assumption in the documentation. 




-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17541.48804.patch
Type: text/x-patch
Size: 8017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160223/47322880/attachment.bin>

More information about the llvm-commits mailing list