llvm-project
0571c870 - IR: Add LoadInst::isAtomic and StoreInst::isAtomic (#242075)

Commit
1 day ago
IR: Add LoadInst::isAtomic and StoreInst::isAtomic (#242075) isSimple and the many callers of isAtomic on a LoadInst or StoreInst went through the out of line opcode switch in Instruction::isAtomic. Shadow it with an inline ordering check, like isVolatile. CTMark instructions:u, geomean: O3 -0.05%, ThinLTO -0.08% Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Author
Parents
Loading