[llvm-dev] infer correct types from the pattern

Rail Shafigulin via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 30 14:42:43 PDT 2016


i'm getting a

Could not infer all types in pattern!

error in my backend. it is happening on the following instruction:

VGETITEM:  (set GPR:{i32:f32}:$rD, (extractelt:{i32:f32}
VR:{v4i32:v4f32}:$rA, GPR:i32:$rB)).

how do i make it use appropriate types? in other words if it is f32 then
use v4v32 and if it is i32 then use v4f32. i'm not sure even where to start?

any help is appreciated.

-- 
Rail Shafigulin
Software Engineer
Esencia Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160330/e8cef85b/attachment.html>


More information about the llvm-dev mailing list