These bitfields were being miscompiled on some
authorDuncan Sands <baldrick@free.fr>
Mon, 20 Apr 2009 16:03:21 +0000 (16:03 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 20 Apr 2009 16:03:21 +0000 (16:03 +0000)
commitc3bbf579ae3ddc67bfd06f12496ae24af70e0ba0
tree98dd9c878d6ea40dd89ef62602212c15a19ab710
parent5b7ff355038d06a19c1a0c139aa2c61be677bb54
These bitfields were being miscompiled on some
64 bit platforms when building with optimization.
So replace them by a hand-coded implementation.
This fixes PR3822.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69597 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/InlineCost.h