mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
AVX-512: cvtusi2ss/d intrinsics.
Change builtin function name and signature ( add third parameter - rounding mode ). Added tests for intrinsics. Differential Revision: http://reviews.llvm.org/D10473 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239888 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2022,6 +2022,8 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
|
||||
Value *CopyOp, *ConvertOp;
|
||||
|
||||
switch (I.getNumArgOperands()) {
|
||||
case 3:
|
||||
assert(isa<ConstantInt>(I.getArgOperand(2)) && "Invalid rounding mode");
|
||||
case 2:
|
||||
CopyOp = I.getArgOperand(0);
|
||||
ConvertOp = I.getArgOperand(1);
|
||||
|
Reference in New Issue
Block a user