llvm-project/llvm/include
Simon Pilgrim bd42f97946 [SDAG] Add SDNode/SDValue getConstantOperandAPInt helper. NFCI.
We already have the getConstantOperandVal helper which returns a uint64_t, but along comes the fuzzer and inserts a i128 -1 constant or something and the whole thing asserts.......

I've updated a few obvious cases, and tried to make use of the const reference where possible, but there's more to do. A number of existing oss-fuzz tickets should be fixed if we start using APInt and perform value clamping where necessary.

llvm-svn: 352961
2019-02-02 17:35:06 +00:00
..
llvm [SDAG] Add SDNode/SDValue getConstantOperandAPInt helper. NFCI. 2019-02-02 17:35:06 +00:00
llvm-c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00