Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm-upgrade generating undefined operand #1485

Closed
nlewycky opened this issue Jan 15, 2007 · 1 comment
Closed

llvm-upgrade generating undefined operand #1485

nlewycky opened this issue Jan 15, 2007 · 1 comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag

Comments

@nlewycky
Copy link
Contributor

Bugzilla Link 1113
Resolution FIXED
Resolved on Feb 22, 2010 12:51
Version trunk
OS All

Extended Description

test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll is failing. Here's the
error shown:

FAIL:
/home/nicholas/llvm/test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll:
child process exited abnormally
llvm-as: :3,0: Reference to an invalid definition: 'cast_upgrade2' of
type 'i64'
opt: Standard Input is empty!
llvm-dis: Standard Input is empty!

It's producing the following output:

define i32* %test1() {
%cast_upgrade1 = fptoui float 0.0 to i64
%X.pntr.s1.u0 = inttoptr i64 %cast_upgrade2 to i32*
ret i32* %X.pntr.s1.u0
}

define i32* %test2() {
ret i32* inttoptr( i64 fptoui(float 0.0 to i64) to i32*)
}

The bug is undefined %cast_upgrade2 when it should be %cast_upgrade1. This is a
very recent change (today).

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 15, 2007

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag
Projects
None yet
Development

No branches or pull requests

2 participants