Details
Details
- Reviewers
aaron.ballman erichkeane shafik cor3ntin
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hmmm, something is weird here. The original patch adding the LLVM intrinsic is https://reviews.llvm.org/D99675 and that says: The invocation of __arithmetic_fence is not a C/C++ constant expression, even if the operands are constant. yet https://reviews.llvm.org/D136036 changed arithmetic fence to be a constant expression. I think that was a mistake and we should back that bit of the change out. WDYT @Izaron ?