[LLVMdev] 32bit math being promoted to 64 bit
Tilmann Scheller
tilmann.scheller at googlemail.com
Thu Dec 4 10:27:42 PST 2008
On Thu, Dec 4, 2008 at 7:08 PM, Chris Lattner <clattner at apple.com> wrote:
>
> 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?
Sounds a lot like the issue I reported in PR 3101.
Can you run your bitcode through opt -instcombine and check for promotions?
Greetings,
Tilmann
More information about the llvm-dev
mailing list