HomePhabricator

[Sema,X86] Add explicit check to ensure that builtins that require x86-64…

Authored by craig.topper on Jul 21 2016, 12:38 AM.

Description

[Sema,X86] Add explicit check to ensure that builtins that require x86-64 target throw an error if used on 32-bit target.

If these builtins are allowed to go through on a 32-bit target they will fire assertions in the backend.

Fixes PR28635.

llvm-svn: 276250

Details