[llvm] [IR] Add initial support for the byte type (PR #178666)

Pedro Lobo via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 8 04:41:07 PDT 2026


================
@@ -479,7 +479,7 @@ void FunctionLoweringInfo::ComputePHILiveOutRegInfo(const PHINode *PN) {
     LiveOutInfo &DestLOI = LiveOutRegInfo[DestReg];
 
     Value *V = PN->getIncomingValue(0);
-    if (isa<UndefValue>(V) || isa<ConstantExpr>(V)) {
+    if (isa<UndefValue>(V) || isa<ConstantExpr>(V) || isa<ConstantByte>(V)) {
----------------
pedroclobo wrote:

This was a leftover change from the old fork... Removing `ConstantByte` did not trigger any crash in the tests and benchmarks. I've reverted the change.

https://github.com/llvm/llvm-project/pull/178666


More information about the llvm-commits mailing list