avt77 added a comment. In fact if you try something like llc < .../llvm/test/CodeGen/X86/recip-fastmath.ll -mtriple=x86_64-unknown-unknown -mattr=+avx it should work just now: up to now I was working with this test only . https://reviews.llvm.org/D26855