Skip to content

Commit

Permalink
added guard on IntrinsicsX86.h inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
dmiller423 committed Apr 24, 2020
1 parent 5999e74 commit 1daec14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Existing

compile_commands.json
vim_rc
Config.json

[Bb]uild*/
[Bb]in/
out/
.vscode/
.vs/

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <llvm/IR/Verifier.h>

// This seems to be needed for LLVM-10, and isn't needed/built from IntrinsicsX86.td in LLVM-9?
#if __has_include (<llvm/IR/IntrinsicsX86.h>)
#if defined(_M_X86_64) && __has_include (<llvm/IR/IntrinsicsX86.h>)
#include <llvm/IR/IntrinsicsX86.h>
#endif

Expand Down

0 comments on commit 1daec14

Please sign in to comment.