aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/ValueEnumerator.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2013-02-12 03:14:50 +0000
committerPete Cooper <peter_cooper@apple.com>2013-02-12 03:14:50 +0000
commitb0fde6dc029a33945bfeea7082a03940f664943c (patch)
treeeeb6fa81cdedb5083bd49418b0c8aead022eeba2 /lib/Bitcode/Writer/ValueEnumerator.cpp
parent6851623c54b35673f6e9a0ed0fd12378c93f48c4 (diff)
Check type for legality before forming a select from loads.
Sorry for the lack of a test case. I tried writing one for i386 as i know selects are illegal on this target, but they are actually considered legal by isel and expanded later. I can't see any targets to trigger this, but checking for the legality of a node before forming it is general goodness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/ValueEnumerator.cpp')
0 files changed, 0 insertions, 0 deletions