mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Move pr717 to here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47803 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc82fabe00
commit
a11deb0392
@ -691,3 +691,17 @@ instead of:
|
||||
...
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
http://llvm.org/PR717:
|
||||
|
||||
The following code should compile into "ret int undef". Instead, LLVM
|
||||
produces "ret int 0":
|
||||
|
||||
int f() {
|
||||
int x = 4;
|
||||
int y;
|
||||
if (x == 3) y = 0;
|
||||
return y;
|
||||
}
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user