-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Labels
IR differenceA difference in ClangIR-generated LLVM IR that could complicate reusing original CodeGen testsA difference in ClangIR-generated LLVM IR that could complicate reusing original CodeGen testsgood first issueGood for newcomersGood for newcomers
Description
cmpxchg
OG codegen gets 8 bytes versus 4 bytes through CIR, see https://godbolt.org/z/TbM8ToPWc
// Through CIR
%14 = cmpxchg weak ptr %9, i32 %12, i32 %13 seq_cst seq_cst, align 4
vs
// Traditional LLVM codegen
%14 = cmpxchg weak ptr %9, i32 %12, i32 %13 seq_cst seq_cst, align 8
Metadata
Metadata
Assignees
Labels
IR differenceA difference in ClangIR-generated LLVM IR that could complicate reusing original CodeGen testsA difference in ClangIR-generated LLVM IR that could complicate reusing original CodeGen testsgood first issueGood for newcomersGood for newcomers