https://bugs.freedesktop.org/show_bug.cgi?id=70227
--- Comment #1 from Alexey Shvetsov alexxy@gentoo.org --- With recent llvm master branch build now it failes with
Building kernel CalculateMultipliers Building kernel Sieve Building kernel Combine Building kernel Fermat LLVM ERROR: Cannot select: 0x7f638ce2c2d0: i32,ch = AtomicLoadAdd 0x7f638ce86840, 0x7f638ce25e60, 0x7f638ce25f60<Volatile LDST4[%counter]> [ORD=36] [ID=12] 0x7f638ce25e60: i32,ch = CopyFromReg 0x7f638ce86840, 0x7f638ce2b7c0 [ORD=36] [ID=8] 0x7f638ce2b7c0: i32 = Register %vreg4 [ID=2] 0x7f638ce25f60: i32 = Constant<1> [ID=1] In function: Combine