Add two new items to PerformanceTips
authorPhilip Reames <listmail@philipreames.com>
Sun, 26 Apr 2015 22:15:18 +0000 (22:15 +0000)
committerPhilip Reames <listmail@philipreames.com>
Sun, 26 Apr 2015 22:15:18 +0000 (22:15 +0000)
commit77456809c428e7b3867a27a648633490e1e9ed7b
treef1490383b5859d1a7f5684053e4d3daacc98b8fd
parentc4ab95d900eea5553991be32e11c54ecc6611a2a
Add two new items to PerformanceTips

1) Turns out we're not great at recognizing redundant checks when one is a != and the other is an ==.  This is a bug, but it's one that matters to frontend authors.

2) Frontends shouldn't use intrinsics unless strictly neccessary.  This has been pretty widely proven by this point and is good to document.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235825 91177308-0d34-0410-b5e6-96231b3b80d8
docs/Frontend/PerformanceTips.rst