[TensorExpr] Fix LLVM 10 build after LLVM API changes
Summary: Use `llvm::CodeGenFileType` for llvm-10+
Test Plan: local build
Reviewed By: asuhan
Differential Revision: D25694990
fbshipit-source-id: c35d973ef2669929715a94da5dd46e4a0457c4e8
Author
Wei Wang (Server LLVM)