Skip to content
Commit 51738f83 authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Make __builtin_ia32_readeflags_u32 and __builtin_ia32_writeeflags_u32...

[X86] Make __builtin_ia32_readeflags_u32 and __builtin_ia32_writeeflags_u32 only available on 32-bit targets.

These builtins can't be handled by the backend on 64-bit targets. So error up front instead of throwing an isel error.

Fixes PR37225

Differential Revision: https://reviews.llvm.org/D46132

llvm-svn: 330987
parent 7cc56f15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment