Created
June 9, 2020 16:25
-
-
Save shawnl/5655414e6fa01d3e19512047f0ee57fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/shawn/git/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘static PointerT llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::getPointer(intptr_t) [with PointerT = llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits>; unsigned int IntBits = 1; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits> >; intptr_t = long int]’: | |
/home/shawn/git/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:59:57: required from ‘PointerTy llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>::getPointer() const [with PointerTy = llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits>; unsigned int IntBits = 1; IntType = mlir::Value::Comptime; PtrTraits = llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits> >; Info = llvm::PointerIntPairInfo<llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits>, 1, llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits> > >]’ | |
/home/shawn/git/llvm-project/mlir/include/mlir/IR/Value.h:105:78: required from here | |
/home/shawn/git/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:167:41: error: could not convert ‘llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits> >::getFromVoidPointer(((void*)(((long unsigned int)Value) & ((long unsigned int)llvm::PointerIntPairInfo<llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits>, 1, llvm::PointerLikeTypeTraits<llvm::PointerIntPair<void*, 2, mlir::Value::Kind, mlir::Value::ImplTypeTraits> > >::PointerBitMask))))’ from ‘PointerIntPair<[...],[...],[...],llvm::PointerLikeTypeTraits<void*>,PointerIntPairInfo<[...],[...],llvm::PointerLikeTypeTraits<void*>>>’ to ‘PointerIntPair<[...],[...],[...],mlir::Value::ImplTypeTraits,PointerIntPairInfo<[...],[...],mlir::Value::ImplTypeTraits>>’ | |
167 | return PtrTraits::getFromVoidPointer( | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ | |
| | | |
| PointerIntPair<[...],[...],[...],llvm::PointerLikeTypeTraits<void*>,PointerIntPairInfo<[...],[...],llvm::PointerLikeTypeTraits<void*>>> | |
168 | reinterpret_cast<void *>(Value & PointerBitMask)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment