[PATCH] D113869: [VE][Target] Fix a problem caused by efa896e

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 14 18:11:56 PST 2021


kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added a subscriber: hiraditya.
kaz7 requested review of this revision.
Herald added a subscriber: llvm-commits.

Previous NFC commit breaked it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113869

Files:
  llvm/lib/Target/VE/VEISelLowering.cpp


Index: llvm/lib/Target/VE/VEISelLowering.cpp
===================================================================
--- llvm/lib/Target/VE/VEISelLowering.cpp
+++ llvm/lib/Target/VE/VEISelLowering.cpp
@@ -2513,7 +2513,7 @@
       default:
         // If the use is an instruction which treats the source operand as i32,
         // it is safe to avoid truncate here.
-        if (isI32Insn(*UI, N))
+        if (isI32Insn(U, N))
           continue;
         break;
       case ISD::ANY_EXTEND:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113869.387145.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211115/8b0195a3/attachment.bin>


More information about the llvm-commits mailing list