Skip to content
Commit 0a9a866c authored by Nick Lewycky's avatar Nick Lewycky
Browse files

Fix a use of uninitialized value. OldCC is set when IsCmpZero || IsSwapped and...

Fix a use of uninitialized value. OldCC is set when IsCmpZero || IsSwapped and read when ShouldUpdateCC || IsSwapped, and ShouldUpdateCC is independent. Fixes PR19932, but no test since I wasn't able to get any symptoms to appear, not even with valgrind and the testcase from the PR. It's clear what happened from inspection of the code.

llvm-svn: 210168
parent 8d2ee37f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment