Skip to content

Conversation

@llvmbot
Copy link
Member

@llvmbot llvmbot commented Aug 3, 2022

We can't guarantee the long always 64 bits like WINDOWS or LLP64 data
model (rare but we should consider).

So use int64_t from inttypes.h and safe in this case.

Fixes llvm/llvm-project#55911 .

(cherry picked from commit f38ea84)
@tru
Copy link
Contributor

tru commented Aug 3, 2022

@UmeshKalappa is this fine to backport to the 15.x branch?

@tru
Copy link
Contributor

tru commented Aug 7, 2022

@efriedma-quic Should we merge this to the 15.x branch?

@efriedma-quic
Copy link
Contributor

Yes, we should merge. Very safe fix for a miscompile.

@tstellar tstellar merged commit 0154886 into release/15.x Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PPC codgen issue on Windows

6 participants