Disable MSVC 2015's warning about zero extending after ~ and others
authorReid Kleckner <rnk@google.com>
Wed, 10 Feb 2016 19:25:51 +0000 (19:25 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 10 Feb 2016 19:25:51 +0000 (19:25 +0000)
commitcf5414ee11825f2dcc2916fd615fc070b47f7851
treed2ee532d92ebb2de48994499efe5ff691016cd09
parent0a4f3f43731963534366592f7a9f29566a055716
Disable MSVC 2015's warning about zero extending after ~ and others

Very often in LLVM we have APIs that take a bitwidth and a uint64_t that
we pass immediates such as ~0U to. Consider APInt, Constant, and
MachineInstrBuilder::addImm. Fixing all uses of these APIs to manually
extend their arguments to uint64_t doesn't seem worth it.

llvm-svn: 260416
llvm/cmake/modules/HandleLLVMOptions.cmake