summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-07-04 20:07:37 +0000
committerdim <dim@FreeBSD.org>2015-07-04 20:07:37 +0000
commitd26c180162d2af62c4eb59fb4c4a623fed492d6c (patch)
tree50c7c065ddffab8c583f7260f5862102ead7f5fb /contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
parentce6959baeb3e18d94c715ab309cf2e66192d3708 (diff)
downloadFreeBSD-src-d26c180162d2af62c4eb59fb4c4a623fed492d6c.zip
FreeBSD-src-d26c180162d2af62c4eb59fb4c4a623fed492d6c.tar.gz
Pull in r241142 from upstream llvm trunk (by David Majnemer):
[SCCP] Turn loads of null into undef instead of zero initialized values Surprisingly, this is a correctness issue: the mmx type exists for calling convention purposes, LLVM doesn't have a zero representation for them. This partially fixes PR23999. Pull in r241143 from upstream llvm trunk (by David Majnemer): [LoopUnroll] Use undef for phis with no value live We would create a phi node with a zero initialized operand instead of undef in the case where no value was originally available. This was problematic for x86_mmx which has no null value. These fix a "Cannot create a null constant of that type!" error when compiling the graphics/sdl2_gfx port with MMX enabled. Reported by: amdmi3
Diffstat (limited to 'contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud