[LLVMdev] 32bit math being promoted to 64 bit
Villmow, Micah
Micah.Villmow at amd.com
Thu Dec 4 10:29:55 PST 2008
I've attached the original ll file and the result of doing
llvm-as < test_fc_27.ll | opt -std-compile-opts > test_fc_27-opt.bc
llvm-dis test_fc_27-opt.bc
This is very problematic as 64 bit integer operations are software
emulated and I would rather not have them generated unless explicitly
requested by the programmer.
________________________________
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Chris Lattner
Sent: Thursday, December 04, 2008 10:08 AM
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] 32bit math being promoted to 64 bit
On Dec 4, 2008, at 8:58 AM, Villmow, Micah wrote:
What optimization pass promotes 32 bit math operations to 64 bit
operations so I can disable it? I have code that works fine with
optimizations turned off but fails with it turned on because of this
stage.
Do you have a testcase? An .ll file with no 64-bit operations, and one
optimization pass that introduces them?
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081204/fbb41292/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_fc_27.ll
Type: application/octet-stream
Size: 2450 bytes
Desc: test_fc_27.ll
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081204/fbb41292/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_fc_27-opt.ll
Type: application/octet-stream
Size: 1689 bytes
Desc: test_fc_27-opt.ll
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081204/fbb41292/attachment-0001.obj>
More information about the llvm-dev
mailing list