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

CBE Not Generating BITCAST_TEMPORARY Declarations #1430

Closed
llvmbot opened this issue Dec 17, 2006 · 3 comments
Closed

CBE Not Generating BITCAST_TEMPORARY Declarations #1430

llvmbot opened this issue Dec 17, 2006 · 3 comments
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Dec 17, 2006

Bugzilla Link 1058
Resolution FIXED
Resolved on Feb 22, 2010 12:52
Version trunk
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

In some cases, the CBE is not generating the BITCAST_TEMPORARY variable needed
to perform a fp<->int bitcast. This was originally reported by Evan Cheng.

The symptom is compile errors like this:

Output/462.libquantum.cbe.c: In function 'quantum_objcode_put':
Output/462.libquantum.cbe.c:674: error: 'ltmp_118_4__BITCAST_TEMPORARY'
undeclared (first use in this function)

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 17, 2006

Evan reports that the problem can be reproduced with:

opt bugpoint-reduced-simplified.bc -funcresolve -internalize -ipsccp -globalopt
-constmerge -deadargelim -basiccg -inline -prune-eh -globalopt -globaldce
-basiccg -argpromotion -instcombine -idom -domtree -domfrontier -scalarrepl
-globalsmodref-aa -idom -etforest -loops -domset -domtree -loopsimplify
-domfrontier -licm -lo\ad-vn -gcse -dse -instcombine -simplifycfg -globaldce
-idom -etforest -verify

The bytecode file will be attached.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 17, 2006

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 17, 2006

@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
Projects
None yet
Development

No branches or pull requests

1 participant