IR change for x86 mask load/store instructions in LLVM 3.8 (r250817)

This commit is contained in:
Anton Mitrokhin
2015-10-21 17:41:13 +03:00
parent df643cecbd
commit 434aa30d12
4 changed files with 75 additions and 58 deletions

View File

@@ -60,6 +60,23 @@ define(`PTR_OP_ARGS',
)
)
;; x86 mask load/stores have different mask type since 3.8
define(`MdORi64',
ifelse(LLVM_VERSION, LLVM_3_8,
``i64'',
``double''
)
)
define(`MfORi32',
ifelse(LLVM_VERSION, LLVM_3_8,
``i32'',
``float''
)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; vector convertation utilities