aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorJim Lin <tclin914@gmail.com>2020-02-18 10:48:38 +0800
committerJim Lin <tclin914@gmail.com>2020-02-18 10:49:13 +0800
commit466f8843f526b03c8944a46af5ebb374133b5389 (patch)
treecc70f008c07ca4995549aa8003240a42a0de5f14 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parentfa75bffbbbcf400217583f1afed9ec875b395bed (diff)
downloadllvm-466f8843f526b03c8944a46af5ebb374133b5389.zip
llvm-466f8843f526b03c8944a46af5ebb374133b5389.tar.gz
llvm-466f8843f526b03c8944a46af5ebb374133b5389.tar.bz2
[NFC] Remove trailing space
sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h,td}
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index ce758d6..306f9dc 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -1953,7 +1953,7 @@ bool CodeGenPrepare::optimizeCallInst(CallInst *CI, bool &ModifiedDT) {
case Intrinsic::experimental_widenable_condition: {
// Give up on future widening oppurtunties so that we can fold away dead
// paths and merge blocks before going into block-local instruction
- // selection.
+ // selection.
if (II->use_empty()) {
II->eraseFromParent();
return true;