Issue 141655
Summary analyzeCompare needs a way to report subregister uses
Labels llvm:codegen
Assignees
Reporter arsenm
    [analyzeCompare](https://github.com/llvm/llvm-project/blob/a9b64bb3180dab6d28bf800a641f9a9ad54d2c0c/llvm/include/llvm/CodeGen/TargetInstrInfo.h#L1777)'s interface is broken because it does not provide a way to report used subregister indexes in the instruction. If there is a subregister use, it's unsafe to return true and you must skip the instruction (e.g. #141654).

This should probably change the reported Register inputs to RegSubRegPair 
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to