dtcxzyw wrote: > > I don't know why it fails: > > ``` > > error: patch failed: > > llvm/lib/Transforms/InstCombine/InstCombineInternal.h:551 > > error: llvm/lib/Transforms/InstCombine/InstCombineInternal.h: patch does > > not apply > > error: patch failed: > > llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp:466 > > error: llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp: > > patch does not apply > > ``` > > How are you trying to apply this?
``` cd llvm-project git checkout main wget https://github.com/llvm/llvm-project/pull/74056.patch git apply 74056.patch ``` https://github.com/llvm/llvm-project/pull/74056 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits